public static class SnapshotTestingUtils.SnapshotMock extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SnapshotTestingUtils.SnapshotMock.SnapshotBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
TEST_NUM_REGIONS |
Constructor and Description |
---|
SnapshotMock(Configuration conf,
FileSystem fs,
Path rootDir) |
Modifier and Type | Method and Description |
---|---|
HTableDescriptor |
createHtd(String tableName) |
SnapshotTestingUtils.SnapshotMock.SnapshotBuilder |
createSnapshotV1(String snapshotName,
String tableName) |
SnapshotTestingUtils.SnapshotMock.SnapshotBuilder |
createSnapshotV2(String snapshotName,
String tableName) |
public static final int TEST_NUM_REGIONS
public SnapshotMock(Configuration conf, FileSystem fs, Path rootDir)
public SnapshotTestingUtils.SnapshotMock.SnapshotBuilder createSnapshotV1(String snapshotName, String tableName) throws IOException
IOException
public SnapshotTestingUtils.SnapshotMock.SnapshotBuilder createSnapshotV2(String snapshotName, String tableName) throws IOException
IOException
public HTableDescriptor createHtd(String tableName)