RegexCopyFilter, RegexpInConfigurationFilter, TrueCopyFilterpublic abstract class CopyFilter
extends java.lang.Object
| Constructor | Description |
|---|---|
CopyFilter() |
| Modifier and Type | Method | 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–2025 Apache Software Foundation. All rights reserved.