Class SnapshotManifestV2.ManifestBuilder

java.lang.Object
org.apache.hadoop.hbase.snapshot.SnapshotManifestV2.ManifestBuilder
All Implemented Interfaces:
SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
Enclosing class:
SnapshotManifestV2

static class SnapshotManifestV2.ManifestBuilder extends Object implements SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final org.apache.hadoop.conf.Configuration
     
    private final org.apache.hadoop.fs.FileSystem
     
    private final org.apache.hadoop.fs.Path
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    familyClose(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder family)
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder
    familyOpen(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, byte[] familyName)
     
    void
    regionClose(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region)
     
    org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder
    regionOpen(RegionInfo regionInfo)
     
    void
    storeFile(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder family, StoreFileInfo storeFile)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • conf

      private final org.apache.hadoop.conf.Configuration conf
    • snapshotDir

      private final org.apache.hadoop.fs.Path snapshotDir
    • rootFs

      private final org.apache.hadoop.fs.FileSystem rootFs
  • Constructor Details

    • ManifestBuilder

      public ManifestBuilder(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.fs.FileSystem rootFs, org.apache.hadoop.fs.Path snapshotDir)
  • Method Details

    • regionOpen

      public org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder regionOpen(RegionInfo regionInfo)
      Specified by:
      regionOpen in interface SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
    • regionClose

      public void regionClose(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region) throws IOException
      Specified by:
      regionClose in interface SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
      Throws:
      IOException
    • familyOpen

      public org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder familyOpen(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, byte[] familyName)
      Specified by:
      familyOpen in interface SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
    • familyClose

      public void familyClose(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder family)
      Specified by:
      familyClose in interface SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
    • storeFile

      public void storeFile(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder region, org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder family, StoreFileInfo storeFile) throws IOException
      Specified by:
      storeFile in interface SnapshotManifest.RegionVisitor<org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.Builder,org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotRegionManifest.FamilyFiles.Builder>
      Throws:
      IOException