@InterfaceAudience.Private public final class FSVisitor extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
FSVisitor.StoreFileVisitor |
| 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
|
public static void visitTableStoreFiles(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path tableDir,
FSVisitor.StoreFileVisitor visitor)
throws IOException
fs - FileSystemtableDir - 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 - FileSystemregionDir - 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.