public class RegexpInConfigurationFilter extends CopyFilter
DistCpConstants.CONF_LABEL_FILTERS_CLASS needs to be set
in Configuration when launching a distcp job.| Modifier | Constructor and Description |
|---|---|
protected |
RegexpInConfigurationFilter(org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldCopy(org.apache.hadoop.fs.Path path)
Predicate to determine if a file can be excluded from copy.
|
getCopyFilter, initializeprotected RegexpInConfigurationFilter(org.apache.hadoop.conf.Configuration conf)
public boolean shouldCopy(org.apache.hadoop.fs.Path path)
CopyFiltershouldCopy in class CopyFilterpath - a Path to be considered for copyingCopyright © 2008–2022 Apache Software Foundation. All rights reserved.