Package org.apache.hadoop.hbase.util
Class FSUtils.FamilyDirFilter
java.lang.Object
org.apache.hadoop.hbase.util.AbstractFileStatusFilter
org.apache.hadoop.hbase.util.FSUtils.FamilyDirFilter
- All Implemented Interfaces:
org.apache.hadoop.fs.PathFilter
,FileStatusFilter
- Enclosing class:
- FSUtils
Filter for all dirs that are legal column family names. This is generally used for colfam dirs
<hbase.rootdir>/<tabledir>/<regiondir>/<colfamdir>.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.hadoop.hbase.util.AbstractFileStatusFilter
accept, accept, isDirectory, isFile
-
Field Details
-
fs
-
-
Constructor Details
-
FamilyDirFilter
-
-
Method Details
-
accept
Description copied from class:AbstractFileStatusFilter
Filters out a path. Can be given an optional directory hint to avoid filestatus lookup.- Specified by:
accept
in classAbstractFileStatusFilter
- Parameters:
p
- A filesystem pathisDir
- An optional boolean indicating whether the path is a directory or not- Returns:
- true if the path is accepted, false if the path is filtered out
-