Enum HdfsFileAttributes
- All Implemented Interfaces:
Serializable
,Comparable<HdfsFileAttributes>
HDFS file content attributes.
- Since:
- 2.1
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBlock size.Group.Last access time.Length.Modification time.Owner.Permissions. -
Method Summary
Modifier and TypeMethodDescriptionstatic HdfsFileAttributes
Returns the enum constant of this type with the specified name.static HdfsFileAttributes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LAST_ACCESS_TIME
Last access time. -
BLOCK_SIZE
Block size. -
GROUP
Group. -
OWNER
Owner. -
PERMISSIONS
Permissions. -
LENGTH
Length. -
MODIFICATION_TIME
Modification time.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-