public static class SnapshotTestingUtils.SnapshotMock.SnapshotBuilder extends Object
Constructor and Description |
---|
SnapshotBuilder(Configuration conf,
FileSystem fs,
Path rootDir,
HTableDescriptor htd,
HBaseProtos.SnapshotDescription desc,
org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils.SnapshotMock.RegionData[] tableRegions) |
Modifier and Type | Method and Description |
---|---|
Path[] |
addRegion() |
Path[] |
addRegionV1() |
Path[] |
addRegionV2() |
Path |
commit() |
HBaseProtos.SnapshotDescription |
getSnapshotDescription() |
Path |
getSnapshotsDir() |
HTableDescriptor |
getTableDescriptor() |
public SnapshotBuilder(Configuration conf, FileSystem fs, Path rootDir, HTableDescriptor htd, HBaseProtos.SnapshotDescription desc, org.apache.hadoop.hbase.snapshot.SnapshotTestingUtils.SnapshotMock.RegionData[] tableRegions) throws IOException
IOException
public HTableDescriptor getTableDescriptor()
public HBaseProtos.SnapshotDescription getSnapshotDescription()
public Path getSnapshotsDir()
public Path[] addRegion() throws IOException
IOException
public Path[] addRegionV1() throws IOException
IOException
public Path[] addRegionV2() throws IOException
IOException
public Path commit() throws IOException
IOException