Class QueryableStateStream<K,V>

java.lang.Object
org.apache.flink.streaming.api.datastream.QueryableStateStream<K,V>
Type Parameters:
K - State key type
V - State value type

@PublicEvolving @Deprecated public class QueryableStateStream<K,V> extends Object
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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 instance
      stateDescriptor - The state descriptor for the state instance
      keySerializer - Key serializer for the state instance
  • Method Details

    • getQueryableStateName

      public String getQueryableStateName()
      Deprecated.
      Returns the name under which the state can be queried.
      Returns:
      Name under which state can be queried.
    • getKeySerializer

      public org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
      Deprecated.
      Returns the key serializer for the queryable state instance.
      Returns:
      Key serializer for the state instance.
    • getStateDescriptor

      public org.apache.flink.api.common.state.StateDescriptor<?,V> getStateDescriptor()
      Deprecated.
      Returns the state descriptor for the queryable state instance.
      Returns:
      State descriptor for the state instance