public static enum HdfsConstants.UpgradeAction extends Enum<HdfsConstants.UpgradeAction>
Modifier and Type | Method and Description |
---|---|
static HdfsConstants.UpgradeAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HdfsConstants.UpgradeAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HdfsConstants.UpgradeAction QUERY
public static final HdfsConstants.UpgradeAction FINALIZE
public static HdfsConstants.UpgradeAction[] values()
for (HdfsConstants.UpgradeAction c : HdfsConstants.UpgradeAction.values()) System.out.println(c);
public static HdfsConstants.UpgradeAction 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 nullCopyright © 2008–2022 Apache Software Foundation. All rights reserved.