Package org.apache.heron.spi.common
Enum Key.Type
- java.lang.Object
-
- java.lang.Enum<Key.Type>
-
- org.apache.heron.spi.common.Key.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Key.Type>
- Enclosing class:
- Key
public static enum Key.Type extends Enum<Key.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
BYTE_AMOUNT
DOUBLE
DRY_RUN_FORMAT_TYPE
INTEGER
LONG
MAP
PACKAGE_TYPE
PROPERTIES
STRING
UNKNOWN
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Key.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Key.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final Key.Type BOOLEAN
-
BYTE_AMOUNT
public static final Key.Type BYTE_AMOUNT
-
DOUBLE
public static final Key.Type DOUBLE
-
DRY_RUN_FORMAT_TYPE
public static final Key.Type DRY_RUN_FORMAT_TYPE
-
INTEGER
public static final Key.Type INTEGER
-
LONG
public static final Key.Type LONG
-
STRING
public static final Key.Type STRING
-
PACKAGE_TYPE
public static final Key.Type PACKAGE_TYPE
-
PROPERTIES
public static final Key.Type PROPERTIES
-
MAP
public static final Key.Type MAP
-
UNKNOWN
public static final Key.Type UNKNOWN
-
-
Method Detail
-
values
public static Key.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Key.Type c : Key.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Key.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-