public abstract class CopyFilter extends Object
| Constructor and Description |
|---|
CopyFilter() |
| Modifier and Type | Method and Description |
|---|---|
static CopyFilter |
getCopyFilter(org.apache.hadoop.conf.Configuration conf)
Public factory method which returns the appropriate implementation of
CopyFilter.
|
void |
initialize()
Default initialize method does nothing.
|
abstract boolean |
shouldCopy(org.apache.hadoop.fs.Path path)
Predicate to determine if a file can be excluded from copy.
|
public void initialize()
public abstract boolean shouldCopy(org.apache.hadoop.fs.Path path)
path - a Path to be considered for copyingpublic static CopyFilter getCopyFilter(org.apache.hadoop.conf.Configuration conf)
conf - DistCp configurationCopyright © 2008–2020 Apache Software Foundation. All rights reserved.