Enum StateMetaInfoSnapshot.BackendStateType
- java.lang.Object
-
- java.lang.Enum<StateMetaInfoSnapshot.BackendStateType>
-
- org.apache.flink.runtime.state.metainfo.StateMetaInfoSnapshot.BackendStateType
-
- All Implemented Interfaces:
Serializable,Comparable<StateMetaInfoSnapshot.BackendStateType>
- Enclosing class:
- StateMetaInfoSnapshot
public static enum StateMetaInfoSnapshot.BackendStateType extends Enum<StateMetaInfoSnapshot.BackendStateType>
Enum that defines the different types of state that live in Flink backends.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BROADCASTKEY_VALUEKEY_VALUE_V2OPERATORPRIORITY_QUEUE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StateMetaInfoSnapshot.BackendStateTypebyCode(int code)bytegetCode()static StateMetaInfoSnapshot.BackendStateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static StateMetaInfoSnapshot.BackendStateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
KEY_VALUE
public static final StateMetaInfoSnapshot.BackendStateType KEY_VALUE
-
OPERATOR
public static final StateMetaInfoSnapshot.BackendStateType OPERATOR
-
BROADCAST
public static final StateMetaInfoSnapshot.BackendStateType BROADCAST
-
PRIORITY_QUEUE
public static final StateMetaInfoSnapshot.BackendStateType PRIORITY_QUEUE
-
KEY_VALUE_V2
public static final StateMetaInfoSnapshot.BackendStateType KEY_VALUE_V2
-
-
Method Detail
-
values
public static StateMetaInfoSnapshot.BackendStateType[] 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.BackendStateType c : StateMetaInfoSnapshot.BackendStateType.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.BackendStateType 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
-
getCode
public byte getCode()
-
byCode
public static StateMetaInfoSnapshot.BackendStateType byCode(int code)
-
-