java.lang.Object
org.apache.flink.connector.file.src.enumerate.DefaultFileFilter
- All Implemented Interfaces:
Predicate<org.apache.flink.core.fs.Path>
@PublicEvolving
public final class DefaultFileFilter
extends Object
implements Predicate<org.apache.flink.core.fs.Path>
A file filter that filters out hidden files based on common naming patterns, i.e., files where
the filename starts with '.' or with '_'.
-
Constructor Summary
Constructors
-
Method Summary
boolean
test(org.apache.flink.core.fs.Path path)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DefaultFileFilter
public DefaultFileFilter()
-
Method Details
-
test
public boolean test(org.apache.flink.core.fs.Path path)
- Specified by:
test in interface Predicate<org.apache.flink.core.fs.Path>