Class 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 Detail

      • QueryableStateStream

        public QueryableStateStream​(String queryableStateName,
                                    StateDescriptor<?,​V> stateDescriptor,
                                    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 Detail

      • 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 TypeSerializer<K> getKeySerializer()
        Deprecated.
        Returns the key serializer for the queryable state instance.
        Returns:
        Key serializer for the state instance.
      • getStateDescriptor

        public StateDescriptor<?,​V> getStateDescriptor()
        Deprecated.
        Returns the state descriptor for the queryable state instance.
        Returns:
        State descriptor for the state instance