org.apache.hadoop.hdfs.protocol
Enum LayoutVersion.Feature
java.lang.Object
java.lang.Enum<LayoutVersion.Feature>
org.apache.hadoop.hdfs.protocol.LayoutVersion.Feature
- All Implemented Interfaces:
- Serializable, Comparable<LayoutVersion.Feature>
- Enclosing class:
- LayoutVersion
public static enum LayoutVersion.Feature
- extends Enum<LayoutVersion.Feature>
Enums for features that change the layout version.
To add a new layout version:
- Define a new enum constant with a short enum name, the new layout version
and description of the added feature.
- When adding a layout version with an ancestor that is not same as
its immediate predecessor, use the constructor where a spacific ancestor
can be passed.
NAMESPACE_QUOTA
public static final LayoutVersion.Feature NAMESPACE_QUOTA
FILE_ACCESS_TIME
public static final LayoutVersion.Feature FILE_ACCESS_TIME
DISKSPACE_QUOTA
public static final LayoutVersion.Feature DISKSPACE_QUOTA
STICKY_BIT
public static final LayoutVersion.Feature STICKY_BIT
APPEND_RBW_DIR
public static final LayoutVersion.Feature APPEND_RBW_DIR
ATOMIC_RENAME
public static final LayoutVersion.Feature ATOMIC_RENAME
CONCAT
public static final LayoutVersion.Feature CONCAT
SYMLINKS
public static final LayoutVersion.Feature SYMLINKS
DELEGATION_TOKEN
public static final LayoutVersion.Feature DELEGATION_TOKEN
FSIMAGE_COMPRESSION
public static final LayoutVersion.Feature FSIMAGE_COMPRESSION
FSIMAGE_CHECKSUM
public static final LayoutVersion.Feature FSIMAGE_CHECKSUM
REMOVE_REL13_DISK_LAYOUT_SUPPORT
public static final LayoutVersion.Feature REMOVE_REL13_DISK_LAYOUT_SUPPORT
UNUSED_28
public static final LayoutVersion.Feature UNUSED_28
UNUSED_29
public static final LayoutVersion.Feature UNUSED_29
UNUSED_30
public static final LayoutVersion.Feature UNUSED_30
RESERVED_REL20_203
public static final LayoutVersion.Feature RESERVED_REL20_203
RESERVED_REL20_204
public static final LayoutVersion.Feature RESERVED_REL20_204
RESERVED_REL22
public static final LayoutVersion.Feature RESERVED_REL22
values
public static LayoutVersion.Feature[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (LayoutVersion.Feature c : LayoutVersion.Feature.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LayoutVersion.Feature valueOf(String name)
- 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 name
NullPointerException
- if the argument is null
Copyright © 2009 The Apache Software Foundation