Package org.apache.iceberg.hadoop
Class HiddenPathFilter
java.lang.Object
org.apache.iceberg.hadoop.HiddenPathFilter
- All Implemented Interfaces:
Serializable
,org.apache.hadoop.fs.PathFilter
public class HiddenPathFilter
extends Object
implements org.apache.hadoop.fs.PathFilter, Serializable
A
PathFilter
that filters out hidden paths. A path is considered to be hidden when the
path name starts with a period ('.') or an underscore ('_').- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionboolean
accept
(org.apache.hadoop.fs.Path p) static HiddenPathFilter
get()
-
Method Details
-
get
-
accept
public boolean accept(org.apache.hadoop.fs.Path p) - Specified by:
accept
in interfaceorg.apache.hadoop.fs.PathFilter
-