java.io.Serializable, java.lang.Comparable<NameNodeLayoutVersion.Feature>, LayoutVersion.LayoutFeaturepublic static enum NameNodeLayoutVersion.Feature extends java.lang.Enum<NameNodeLayoutVersion.Feature> implements LayoutVersion.LayoutFeature
| Enum Constant | Description |
|---|---|
APPEND_NEW_BLOCK |
|
BLOCK_STORAGE_POLICY |
|
CREATE_OVERWRITE |
|
EDITLOG_LENGTH |
|
ERASURE_CODING |
|
EXPANDED_STRING_TABLE |
|
NVDIMM_SUPPORT |
|
QUOTA_BY_STORAGE_TYPE |
|
ROLLING_UPGRADE |
|
SNAPSHOT_MODIFICATION_TIME |
|
TRUNCATE |
|
XATTRS |
|
XATTRS_NAMESPACE_EXT |
| Modifier and Type | Method | Description |
|---|---|---|
LayoutVersion.FeatureInfo |
getInfo() |
|
static NameNodeLayoutVersion.Feature |
valueOf(java.lang.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 final NameNodeLayoutVersion.Feature ERASURE_CODING
public static final NameNodeLayoutVersion.Feature EXPANDED_STRING_TABLE
public static final NameNodeLayoutVersion.Feature SNAPSHOT_MODIFICATION_TIME
public static final NameNodeLayoutVersion.Feature NVDIMM_SUPPORT
public static NameNodeLayoutVersion.Feature[] values()
for (NameNodeLayoutVersion.Feature c : NameNodeLayoutVersion.Feature.values()) System.out.println(c);
public static NameNodeLayoutVersion.Feature valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic LayoutVersion.FeatureInfo getInfo()
getInfo in interface LayoutVersion.LayoutFeatureCopyright © 2008–2025 Apache Software Foundation. All rights reserved.