Package com.marklogic.contentpump
Class DocumentPathFilter
- java.lang.Object
-
- com.marklogic.contentpump.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 Summary
Fields Modifier and Type Field Description static org.apache.commons.logging.LogLOG
-
Constructor Summary
Constructors Constructor Description DocumentPathFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(org.apache.hadoop.fs.Path inPath)org.apache.hadoop.conf.ConfigurationgetConf()StringgetPattern()voidsetConf(org.apache.hadoop.conf.Configuration conf)voidsetPattern(String pattern)
-
-
-
Method Detail
-
getPattern
public String getPattern()
-
setPattern
public void setPattern(String pattern)
-
accept
public boolean accept(org.apache.hadoop.fs.Path inPath)
- Specified by:
acceptin interfaceorg.apache.hadoop.fs.PathFilter
-
getConf
public org.apache.hadoop.conf.Configuration getConf()
- Specified by:
getConfin interfaceorg.apache.hadoop.conf.Configurable
-
setConf
public void setConf(org.apache.hadoop.conf.Configuration conf)
- Specified by:
setConfin interfaceorg.apache.hadoop.conf.Configurable
-
-