java.io.Serializable, java.lang.Comparable<HdfsConstants.StoragePolicy>public static enum HdfsConstants.StoragePolicy extends java.lang.Enum<HdfsConstants.StoragePolicy>
| Enum Constant | Description |
|---|---|
ALL_NVDIMM |
|
ALL_SSD |
|
COLD |
|
HOT |
|
LAZY_PERSIST |
|
ONE_SSD |
|
PROVIDED |
|
WARM |
| Modifier and Type | Method | Description |
|---|---|---|
byte |
value() |
|
static HdfsConstants.StoragePolicy |
valueOf(int value) |
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.StoragePolicy |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.StoragePolicy[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.StoragePolicy PROVIDED
public static final HdfsConstants.StoragePolicy COLD
public static final HdfsConstants.StoragePolicy WARM
public static final HdfsConstants.StoragePolicy HOT
public static final HdfsConstants.StoragePolicy ONE_SSD
public static final HdfsConstants.StoragePolicy ALL_SSD
public static final HdfsConstants.StoragePolicy ALL_NVDIMM
public static final HdfsConstants.StoragePolicy LAZY_PERSIST
public static HdfsConstants.StoragePolicy[] values()
for (HdfsConstants.StoragePolicy c : HdfsConstants.StoragePolicy.values()) System.out.println(c);
public static HdfsConstants.StoragePolicy 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 static HdfsConstants.StoragePolicy valueOf(int value)
value - 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 byte value()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.