Class RegexFileFilter

  • All Implemented Interfaces:
    Predicate<org.apache.flink.core.fs.Path>

    public class RegexFileFilter
    extends Object
    implements Predicate<org.apache.flink.core.fs.Path>
    A file filter that filters out hidden files, see DefaultFileFilter and the files whose path doesn't match the given regex pattern.
    • Constructor Detail

      • RegexFileFilter

        public RegexFileFilter​(String pathPattern)
    • Method Detail

      • test

        public boolean test​(org.apache.flink.core.fs.Path path)
        Specified by:
        test in interface Predicate<org.apache.flink.core.fs.Path>