|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DistCpOptions.FileAttribute | |
---|---|
org.apache.hadoop.tools | |
org.apache.hadoop.tools.util |
Uses of DistCpOptions.FileAttribute in org.apache.hadoop.tools |
---|
Methods in org.apache.hadoop.tools that return DistCpOptions.FileAttribute | |
---|---|
static DistCpOptions.FileAttribute |
DistCpOptions.FileAttribute.getAttribute(char symbol)
|
static DistCpOptions.FileAttribute |
DistCpOptions.FileAttribute.valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DistCpOptions.FileAttribute[] |
DistCpOptions.FileAttribute.values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods in org.apache.hadoop.tools that return types with arguments of type DistCpOptions.FileAttribute | |
---|---|
Iterator<DistCpOptions.FileAttribute> |
DistCpOptions.preserveAttributes()
Returns an iterator with the list of file attributes to preserve |
Methods in org.apache.hadoop.tools with parameters of type DistCpOptions.FileAttribute | |
---|---|
void |
DistCpOptions.preserve(DistCpOptions.FileAttribute fileAttribute)
Add file attributes that need to be preserved. |
boolean |
DistCpOptions.shouldPreserve(DistCpOptions.FileAttribute attribute)
Checks if the input attibute should be preserved or not |
Uses of DistCpOptions.FileAttribute in org.apache.hadoop.tools.util |
---|
Methods in org.apache.hadoop.tools.util that return types with arguments of type DistCpOptions.FileAttribute | |
---|---|
static EnumSet<DistCpOptions.FileAttribute> |
DistCpUtils.unpackAttributes(String attributes)
Un packs preservation attribute string containing the first character of each preservation attribute back to a set of attributes to preserve |
Method parameters in org.apache.hadoop.tools.util with type arguments of type DistCpOptions.FileAttribute | |
---|---|
static String |
DistCpUtils.packAttributes(EnumSet<DistCpOptions.FileAttribute> attributes)
Pack file preservation attributes into a string, containing just the first character of each preservation attribute |
static void |
DistCpUtils.preserve(org.apache.hadoop.fs.FileSystem targetFS,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.fs.FileStatus srcFileStatus,
EnumSet<DistCpOptions.FileAttribute> attributes)
Preserve attribute on file matching that of the file status being sent as argument. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |