Enum StateDescriptor.Type
- java.lang.Object
-
- java.lang.Enum<StateDescriptor.Type>
-
- org.apache.flink.runtime.state.v2.StateDescriptor.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<StateDescriptor.Type>
- Enclosing class:
- StateDescriptor<T>
public static enum StateDescriptor.Type extends Enum<StateDescriptor.Type>
An enumeration of the types of supported states.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGGREGATING
LIST
MAP
REDUCING
VALUE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateDescriptor.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static StateDescriptor.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALUE
public static final StateDescriptor.Type VALUE
-
LIST
public static final StateDescriptor.Type LIST
-
REDUCING
public static final StateDescriptor.Type REDUCING
-
AGGREGATING
public static final StateDescriptor.Type AGGREGATING
-
MAP
public static final StateDescriptor.Type MAP
-
-
Method Detail
-
values
public static StateDescriptor.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 (StateDescriptor.Type c : StateDescriptor.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 StateDescriptor.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
-
-