public static enum DeSelectFields.DeSelectType extends Enum<DeSelectFields.DeSelectType>
| Enum Constant and Description |
|---|
AM_NODE_LABEL_EXPRESSION |
APP_NODE_LABEL_EXPRESSION |
RESOURCE_INFO |
RESOURCE_REQUESTS
RESOURCE_REQUESTS is the first
supported type from YARN-6280. |
TIMEOUTS
APP_TIMEOUTS, APP_NODE_LABEL_EXPRESSION, AM_NODE_LABEL_EXPRESSION,
RESOURCE_INFO are additionally supported parameters added in
YARN-6871. |
| Modifier and Type | Method and Description |
|---|---|
static DeSelectFields.DeSelectType |
obtainType(String literals)
Obtain the
DeSelectType by the literals given behind
deSelects in URL. |
String |
toString()
use literals as toString.
|
static DeSelectFields.DeSelectType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeSelectFields.DeSelectType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeSelectFields.DeSelectType RESOURCE_REQUESTS
RESOURCE_REQUESTS is the first
supported type from YARN-6280.public static final DeSelectFields.DeSelectType TIMEOUTS
APP_TIMEOUTS, APP_NODE_LABEL_EXPRESSION, AM_NODE_LABEL_EXPRESSION,
RESOURCE_INFO are additionally supported parameters added in
YARN-6871.public static final DeSelectFields.DeSelectType APP_NODE_LABEL_EXPRESSION
public static final DeSelectFields.DeSelectType AM_NODE_LABEL_EXPRESSION
public static final DeSelectFields.DeSelectType RESOURCE_INFO
public static DeSelectFields.DeSelectType[] values()
for (DeSelectFields.DeSelectType c : DeSelectFields.DeSelectType.values()) System.out.println(c);
public static DeSelectFields.DeSelectType 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 String toString()
toString in class Enum<DeSelectFields.DeSelectType>public static DeSelectFields.DeSelectType obtainType(String literals)
DeSelectType by the literals given behind
deSelects in URL.
literals - e.g: resourceRequestsDeSelectType e.g: DeSelectType.RESOURCE_REQUESTSCopyright © 2008–2023 Apache Software Foundation. All rights reserved.