Package org.apache.flink.state.forst
Class ForStDBMapValueIterRequest<K,N,UK,UV>
java.lang.Object
org.apache.flink.state.forst.ForStDBIterRequest<K,N,UK,UV,UV>
org.apache.flink.state.forst.ForStDBMapValueIterRequest<K,N,UK,UV>
- All Implemented Interfaces:
Closeable,AutoCloseable
The ForSt
ForStDBIterRequest which returns the values of a ForStMapState.-
Constructor Summary
ConstructorsConstructorDescriptionForStDBMapValueIterRequest(ContextKey<K, N> contextKey, ForStMapState<K, N, UK, UV> table, org.apache.flink.runtime.asyncprocessing.StateRequestHandler stateRequestHandler, org.forstdb.RocksIterator rocksIterator, org.apache.flink.core.state.InternalStateFuture<org.apache.flink.api.common.state.v2.StateIterator<UV>> future) -
Method Summary
Modifier and TypeMethodDescriptionvoidbuildIteratorAndCompleteFuture(Collection<UV> partialResult, boolean encounterEnd) voidcompleteStateFutureExceptionally(String message, Throwable ex) deserializeElement(List<org.apache.flink.state.forst.ForStDBIterRequest.RawEntry> entries, int userKeyOffset) Methods inherited from class org.apache.flink.state.forst.ForStDBIterRequest
close, deserializeUserKey, deserializeUserValue, getKeyPrefixBytes, process, startWithKeyPrefix
-
Constructor Details
-
ForStDBMapValueIterRequest
public ForStDBMapValueIterRequest(ContextKey<K, N> contextKey, ForStMapState<K, N, UK, UV> table, org.apache.flink.runtime.asyncprocessing.StateRequestHandler stateRequestHandler, @Nullable org.forstdb.RocksIterator rocksIterator, org.apache.flink.core.state.InternalStateFuture<org.apache.flink.api.common.state.v2.StateIterator<UV>> future)
-
-
Method Details
-
completeStateFutureExceptionally
- Specified by:
completeStateFutureExceptionallyin classForStDBIterRequest<K,N, UK, UV, UV>
-
deserializeElement
public Collection<UV> deserializeElement(List<org.apache.flink.state.forst.ForStDBIterRequest.RawEntry> entries, int userKeyOffset) throws IOException - Specified by:
deserializeElementin classForStDBIterRequest<K,N, UK, UV, UV> - Throws:
IOException
-
buildIteratorAndCompleteFuture
- Specified by:
buildIteratorAndCompleteFuturein classForStDBIterRequest<K,N, UK, UV, UV>
-