Class QueryableStateStream<K,V>
java.lang.Object
org.apache.flink.streaming.api.datastream.QueryableStateStream<K,V>
- Type Parameters:
K- State key typeV- State value type
Deprecated.
The Queryable State feature is deprecated since Flink 1.18, and will be removed in a
future Flink major version.
Queryable state stream instance.
-
Constructor Summary
ConstructorsConstructorDescriptionQueryableStateStream(String queryableStateName, org.apache.flink.api.common.state.StateDescriptor<?, V> stateDescriptor, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer) Deprecated.Creates a queryable state stream. -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.api.common.typeutils.TypeSerializer<K>Deprecated.Returns the key serializer for the queryable state instance.Deprecated.Returns the name under which the state can be queried.org.apache.flink.api.common.state.StateDescriptor<?,V> Deprecated.Returns the state descriptor for the queryable state instance.
-
Constructor Details
-
QueryableStateStream
public QueryableStateStream(String queryableStateName, org.apache.flink.api.common.state.StateDescriptor<?, V> stateDescriptor, org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer) Deprecated.Creates a queryable state stream.- Parameters:
queryableStateName- Name under which to publish the queryable state instancestateDescriptor- The state descriptor for the state instancekeySerializer- Key serializer for the state instance
-
-
Method Details
-
getQueryableStateName
Deprecated.Returns the name under which the state can be queried.- Returns:
- Name under which state can be queried.
-
getKeySerializer
Deprecated.Returns the key serializer for the queryable state instance.- Returns:
- Key serializer for the state instance.
-
getStateDescriptor
Deprecated.Returns the state descriptor for the queryable state instance.- Returns:
- State descriptor for the state instance
-