Enum StateMetaInfoSnapshot.CommonOptionsKeys
- java.lang.Object
-
- java.lang.Enum<StateMetaInfoSnapshot.CommonOptionsKeys>
-
- org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot.CommonOptionsKeys
-
- All Implemented Interfaces:
Serializable,Comparable<StateMetaInfoSnapshot.CommonOptionsKeys>
- Enclosing class:
- StateMetaInfoSnapshot
public static enum StateMetaInfoSnapshot.CommonOptionsKeys extends Enum<StateMetaInfoSnapshot.CommonOptionsKeys>
Predefined keys for the most common options in the meta info.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KEYED_STATE_TYPEKey to define theStateDescriptor.Typeof a key/value keyed-stateOPERATOR_STATE_DISTRIBUTION_MODEKey to defineOperatorStateHandle.Mode, about how operator state is distributed on restore
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StateMetaInfoSnapshot.CommonOptionsKeysvalueOf(String name)Returns the enum constant of this type with the specified name.static StateMetaInfoSnapshot.CommonOptionsKeys[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEYED_STATE_TYPE
public static final StateMetaInfoSnapshot.CommonOptionsKeys KEYED_STATE_TYPE
Key to define theStateDescriptor.Typeof a key/value keyed-state
-
OPERATOR_STATE_DISTRIBUTION_MODE
public static final StateMetaInfoSnapshot.CommonOptionsKeys OPERATOR_STATE_DISTRIBUTION_MODE
Key to defineOperatorStateHandle.Mode, about how operator state is distributed on restore
-
-
Method Detail
-
values
public static StateMetaInfoSnapshot.CommonOptionsKeys[] 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 (StateMetaInfoSnapshot.CommonOptionsKeys c : StateMetaInfoSnapshot.CommonOptionsKeys.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StateMetaInfoSnapshot.CommonOptionsKeys 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
-
-