Class DocumentPathFilter

  • All Implemented Interfaces:
    org.apache.hadoop.conf.Configurable, org.apache.hadoop.fs.PathFilter

    public class DocumentPathFilter
    extends Object
    implements org.apache.hadoop.fs.PathFilter, org.apache.hadoop.conf.Configurable
    The configured input file pattern applied to input file path.
    • Field Detail

      • LOG

        public static final org.apache.commons.logging.Log LOG
    • Constructor Detail

      • DocumentPathFilter

        public DocumentPathFilter()
    • Method Detail

      • getPattern

        public String getPattern()
      • setPattern

        public void setPattern​(String pattern)
      • accept

        public boolean accept​(org.apache.hadoop.fs.Path inPath)
        Specified by:
        accept in interface org.apache.hadoop.fs.PathFilter
      • getConf

        public org.apache.hadoop.conf.Configuration getConf()
        Specified by:
        getConf in interface org.apache.hadoop.conf.Configurable
      • setConf

        public void setConf​(org.apache.hadoop.conf.Configuration conf)
        Specified by:
        setConf in interface org.apache.hadoop.conf.Configurable