org.apache.hadoop.hdfs.protocol
Enum LayoutVersion.Feature

java.lang.Object
  extended by java.lang.Enum<LayoutVersion.Feature>
      extended by 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:


Enum Constant Summary
APPEND_RBW_DIR
           
ATOMIC_RENAME
           
CONCAT
           
DELEGATION_TOKEN
           
DISKSPACE_QUOTA
           
FILE_ACCESS_TIME
           
FSIMAGE_CHECKSUM
           
FSIMAGE_COMPRESSION
           
NAMESPACE_QUOTA
           
REMOVE_REL13_DISK_LAYOUT_SUPPORT
           
RESERVED_REL20_203
           
RESERVED_REL20_204
           
RESERVED_REL22
           
STICKY_BIT
           
SYMLINKS
           
UNUSED_28
           
UNUSED_29
           
UNUSED_30
           
 
Method Summary
static LayoutVersion.Feature valueOf(String name)
          Returns the enum constant of this type with the specified name.
static LayoutVersion.Feature[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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