static class SnapshotManifestV1.ManifestBuilder extends Object implements SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
Modifier and Type | Field and Description |
---|---|
private org.apache.hadoop.conf.Configuration |
conf |
private org.apache.hadoop.fs.FileSystem |
fs |
private org.apache.hadoop.fs.Path |
snapshotDir |
Constructor and Description |
---|
ManifestBuilder(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path snapshotDir) |
Modifier and Type | Method and Description |
---|---|
void |
familyClose(HRegionFileSystem region,
org.apache.hadoop.fs.Path family) |
org.apache.hadoop.fs.Path |
familyOpen(HRegionFileSystem snapshotRegionFs,
byte[] familyName) |
void |
regionClose(HRegionFileSystem region) |
HRegionFileSystem |
regionOpen(RegionInfo regionInfo) |
void |
storeFile(HRegionFileSystem region,
org.apache.hadoop.fs.Path familyDir,
StoreFileInfo storeFile) |
private final org.apache.hadoop.conf.Configuration conf
private final org.apache.hadoop.fs.Path snapshotDir
private final org.apache.hadoop.fs.FileSystem fs
public ManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path snapshotDir)
public HRegionFileSystem regionOpen(RegionInfo regionInfo) throws IOException
regionOpen
in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
IOException
public void regionClose(HRegionFileSystem region)
regionClose
in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
public org.apache.hadoop.fs.Path familyOpen(HRegionFileSystem snapshotRegionFs, byte[] familyName)
familyOpen
in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
public void familyClose(HRegionFileSystem region, org.apache.hadoop.fs.Path family)
familyClose
in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
public void storeFile(HRegionFileSystem region, org.apache.hadoop.fs.Path familyDir, StoreFileInfo storeFile) throws IOException
storeFile
in interface SnapshotManifest.RegionVisitor<HRegionFileSystem,org.apache.hadoop.fs.Path>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.