public static enum NameNodeLayoutVersion.Feature extends Enum<NameNodeLayoutVersion.Feature> implements LayoutVersion.LayoutFeature
| Enum Constant and Description | 
|---|
| APPEND_NEW_BLOCK | 
| BLOCK_STORAGE_POLICY | 
| CREATE_OVERWRITE | 
| EDITLOG_LENGTH | 
| QUOTA_BY_STORAGE_TYPE | 
| ROLLING_UPGRADE | 
| TRUNCATE | 
| XATTRS | 
| XATTRS_NAMESPACE_EXT | 
| Modifier and Type | Method and Description | 
|---|---|
| LayoutVersion.FeatureInfo | getInfo() | 
| static NameNodeLayoutVersion.Feature | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static NameNodeLayoutVersion.Feature[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final NameNodeLayoutVersion.Feature ROLLING_UPGRADE
public static final NameNodeLayoutVersion.Feature EDITLOG_LENGTH
public static final NameNodeLayoutVersion.Feature XATTRS
public static final NameNodeLayoutVersion.Feature CREATE_OVERWRITE
public static final NameNodeLayoutVersion.Feature XATTRS_NAMESPACE_EXT
public static final NameNodeLayoutVersion.Feature BLOCK_STORAGE_POLICY
public static final NameNodeLayoutVersion.Feature TRUNCATE
public static final NameNodeLayoutVersion.Feature APPEND_NEW_BLOCK
public static final NameNodeLayoutVersion.Feature QUOTA_BY_STORAGE_TYPE
public static NameNodeLayoutVersion.Feature[] values()
for (NameNodeLayoutVersion.Feature c : NameNodeLayoutVersion.Feature.values()) System.out.println(c);
public static NameNodeLayoutVersion.Feature valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic LayoutVersion.FeatureInfo getInfo()
getInfo in interface LayoutVersion.LayoutFeatureCopyright © 2017 Apache Software Foundation. All Rights Reserved.