public static enum HadoopShims.StoragePolicyValue extends Enum<HadoopShims.StoragePolicyValue>
Modifier and Type | Method and Description |
---|---|
static HadoopShims.StoragePolicyValue |
lookup(String name) |
static HadoopShims.StoragePolicyValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HadoopShims.StoragePolicyValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HadoopShims.StoragePolicyValue MEMORY
public static final HadoopShims.StoragePolicyValue SSD
public static final HadoopShims.StoragePolicyValue DEFAULT
public static HadoopShims.StoragePolicyValue[] values()
for (HadoopShims.StoragePolicyValue c : HadoopShims.StoragePolicyValue.values()) System.out.println(c);
public static HadoopShims.StoragePolicyValue 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 static HadoopShims.StoragePolicyValue lookup(String name)
Copyright © 2017 The Apache Software Foundation. All rights reserved.