public static class FSUtils.RegionDirFilter extends AbstractFileStatusFilter
| Modifier and Type | Field and Description |
|---|---|
(package private) org.apache.hadoop.fs.FileSystem |
fs |
static Pattern |
regionDirPattern |
| Constructor and Description |
|---|
RegionDirFilter(org.apache.hadoop.fs.FileSystem fs) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
accept(org.apache.hadoop.fs.Path p,
Boolean isDir)
Filters out a path.
|
accept, accept, isDirectory, isFilepublic static final Pattern regionDirPattern
final org.apache.hadoop.fs.FileSystem fs
public RegionDirFilter(org.apache.hadoop.fs.FileSystem fs)
protected boolean accept(org.apache.hadoop.fs.Path p, @CheckForNull Boolean isDir)
AbstractFileStatusFilteraccept in class AbstractFileStatusFilterp - A filesystem pathisDir - An optional boolean indicating whether the path is a directory or notCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.