public static enum NameNodeLayoutVersion.Feature extends Enum<NameNodeLayoutVersion.Feature> implements LayoutVersion.LayoutFeature
Enum Constant and Description |
---|
BLOCK_STORAGE_POLICY |
CREATE_OVERWRITE |
EDITLOG_LENGTH |
ROLLING_UPGRADE |
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 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.LayoutFeature
Copyright © 2015 Apache Software Foundation. All Rights Reserved.