public static enum DataNodeLayoutVersion.Feature extends Enum<DataNodeLayoutVersion.Feature> implements LayoutVersion.LayoutFeature
Enum Constant and Description |
---|
BLOCKID_BASED_LAYOUT |
BLOCKID_BASED_LAYOUT_32_by_32 |
FIRST_LAYOUT |
Modifier and Type | Method and Description |
---|---|
LayoutVersion.FeatureInfo |
getInfo() |
static DataNodeLayoutVersion.Feature |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataNodeLayoutVersion.Feature[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataNodeLayoutVersion.Feature FIRST_LAYOUT
public static final DataNodeLayoutVersion.Feature BLOCKID_BASED_LAYOUT
public static final DataNodeLayoutVersion.Feature BLOCKID_BASED_LAYOUT_32_by_32
public static DataNodeLayoutVersion.Feature[] values()
for (DataNodeLayoutVersion.Feature c : DataNodeLayoutVersion.Feature.values()) System.out.println(c);
public static DataNodeLayoutVersion.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 © 2017 Apache Software Foundation. All Rights Reserved.