Class CompleteStateIterator<T>
java.lang.Object
org.apache.flink.runtime.state.v2.adaptor.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanisEmpty()<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) org.apache.flink.api.common.state.v2.StateFuture<Void>
-
Constructor Details
-
CompleteStateIterator
-
-
Method Details
-
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:
onNextin interfaceorg.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:
onNextin interfaceorg.apache.flink.api.common.state.v2.StateIterator<T>
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceorg.apache.flink.api.common.state.v2.StateIterator<T>
-
hasNextLoading
public boolean hasNextLoading()- Specified by:
hasNextLoadingin interfaceorg.apache.flink.core.state.InternalStateIterator<T>
-
getCurrentCache
- Specified by:
getCurrentCachein interfaceorg.apache.flink.core.state.InternalStateIterator<T>
-