Modifier and Type | Class and Description |
---|---|
static interface |
FSVisitor.StoreFileVisitor |
Modifier and Type | Field and Description |
---|---|
private static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
private |
FSVisitor() |
Modifier and Type | Method and Description |
---|---|
static void |
visitRegionStoreFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path regionDir,
FSVisitor.StoreFileVisitor visitor)
Iterate over the region store files
|
static void |
visitTableStoreFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir,
FSVisitor.StoreFileVisitor visitor)
Iterate over the table store files
|
private static final org.slf4j.Logger LOG
private FSVisitor()
public static void visitTableStoreFiles(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path tableDir, FSVisitor.StoreFileVisitor visitor) throws IOException
fs
- FileSystem
tableDir
- Path
to the table directoryvisitor
- callback object to get the store filesIOException
- if an error occurred while scanning the directorypublic static void visitRegionStoreFiles(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path regionDir, FSVisitor.StoreFileVisitor visitor) throws IOException
fs
- FileSystem
regionDir
- Path
to the region directoryvisitor
- callback object to get the store filesIOException
- if an error occurred while scanning the directoryCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.