Class CompleteStateIterator<T>

  • All Implemented Interfaces:
    org.apache.flink.api.common.state.v2.StateIterator<T>, org.apache.flink.core.state.InternalStateIterator<T>

    public class CompleteStateIterator<T>
    extends Object
    implements org.apache.flink.core.state.InternalStateIterator<T>
    A StateIterator that has all elements.
    • Constructor Detail

      • CompleteStateIterator

        public CompleteStateIterator​(@Nullable
                                     Iterable<T> iterable)
    • Method Detail

      • onNext

        public <U> org.apache.flink.api.common.state.v2.StateFuture<Collection<U>> onNext​(org.apache.flink.util.function.FunctionWithException<T,​org.apache.flink.api.common.state.v2.StateFuture<? extends U>,​Exception> iterating)
        Specified by:
        onNext in interface org.apache.flink.api.common.state.v2.StateIterator<T>
      • onNext

        public org.apache.flink.api.common.state.v2.StateFuture<Void> onNext​(org.apache.flink.util.function.ThrowingConsumer<T,​Exception> iterating)
        Specified by:
        onNext in interface org.apache.flink.api.common.state.v2.StateIterator<T>
      • isEmpty

        public boolean isEmpty()
        Specified by:
        isEmpty in interface org.apache.flink.api.common.state.v2.StateIterator<T>
      • hasNextLoading

        public boolean hasNextLoading()
        Specified by:
        hasNextLoading in interface org.apache.flink.core.state.InternalStateIterator<T>
      • getCurrentCache

        public Iterable<T> getCurrentCache()
        Specified by:
        getCurrentCache in interface org.apache.flink.core.state.InternalStateIterator<T>