public static class FSUtils.FamilyDirFilter extends AbstractFileStatusFilter
Modifier and Type | Field and Description |
---|---|
(package private) org.apache.hadoop.fs.FileSystem |
fs |
Constructor and Description |
---|
FamilyDirFilter(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, isFile
final org.apache.hadoop.fs.FileSystem fs
public FamilyDirFilter(org.apache.hadoop.fs.FileSystem fs)
protected boolean accept(org.apache.hadoop.fs.Path p, @CheckForNull Boolean isDir)
AbstractFileStatusFilter
accept
in class AbstractFileStatusFilter
p
- A filesystem pathisDir
- An optional boolean indicating whether the path is a directory or notCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.