Class InternalListState<K,​V>

  • Type Parameters:
    K - The type of key the state is associated to.
    V - The type of values kept internally in state.
    All Implemented Interfaces:
    org.apache.flink.api.common.state.v2.AppendingState<V,​org.apache.flink.api.common.state.v2.StateIterator<V>>, org.apache.flink.api.common.state.v2.ListState<V>, org.apache.flink.api.common.state.v2.MergingState<V,​org.apache.flink.api.common.state.v2.StateIterator<V>>, org.apache.flink.api.common.state.v2.State

    public class InternalListState<K,​V>
    extends InternalKeyedState<K,​V>
    implements org.apache.flink.api.common.state.v2.ListState<V>
    A default implementation of ListState which delegates all async requests to StateRequestHandler.
    • Method Detail

      • asyncGet

        public org.apache.flink.api.common.state.v2.StateFuture<org.apache.flink.api.common.state.v2.StateIterator<V>> asyncGet()
        Specified by:
        asyncGet in interface org.apache.flink.api.common.state.v2.AppendingState<K,​V>
      • asyncAdd

        public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncAdd​(V value)
        Specified by:
        asyncAdd in interface org.apache.flink.api.common.state.v2.AppendingState<K,​V>
      • asyncUpdate

        public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncUpdate​(List<V> values)
        Specified by:
        asyncUpdate in interface org.apache.flink.api.common.state.v2.ListState<K>
      • asyncAddAll

        public org.apache.flink.api.common.state.v2.StateFuture<Void> asyncAddAll​(List<V> values)
        Specified by:
        asyncAddAll in interface org.apache.flink.api.common.state.v2.ListState<K>