Package org.apache.flink.state.rocksdb
Enum EmbeddedRocksDBStateBackend.PriorityQueueStateType
- java.lang.Object
-
- java.lang.Enum<EmbeddedRocksDBStateBackend.PriorityQueueStateType>
-
- org.apache.flink.state.rocksdb.EmbeddedRocksDBStateBackend.PriorityQueueStateType
-
- All Implemented Interfaces:
Serializable,Comparable<EmbeddedRocksDBStateBackend.PriorityQueueStateType>,org.apache.flink.configuration.DescribedEnum
- Enclosing class:
- EmbeddedRocksDBStateBackend
public static enum EmbeddedRocksDBStateBackend.PriorityQueueStateType extends Enum<EmbeddedRocksDBStateBackend.PriorityQueueStateType> implements org.apache.flink.configuration.DescribedEnum
The options to chose for the type of priority queue state.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.description.InlineElementgetDescription()static EmbeddedRocksDBStateBackend.PriorityQueueStateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EmbeddedRocksDBStateBackend.PriorityQueueStateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HEAP
public static final EmbeddedRocksDBStateBackend.PriorityQueueStateType HEAP
-
ROCKSDB
public static final EmbeddedRocksDBStateBackend.PriorityQueueStateType ROCKSDB
-
-
Method Detail
-
values
public static EmbeddedRocksDBStateBackend.PriorityQueueStateType[] 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 (EmbeddedRocksDBStateBackend.PriorityQueueStateType c : EmbeddedRocksDBStateBackend.PriorityQueueStateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmbeddedRocksDBStateBackend.PriorityQueueStateType 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
-
getDescription
public org.apache.flink.configuration.description.InlineElement getDescription()
- Specified by:
getDescriptionin interfaceorg.apache.flink.configuration.DescribedEnum
-
-