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
public class ForStDBMapValueIterRequest<K,N,UK,UV> extends ForStDBIterRequest<K,N,UK,UV,UV>
The ForStForStDBIterRequest
which returns the values of a ForStMapState.
-
-
Constructor Summary
Constructors Constructor Description ForStDBMapValueIterRequest(ContextKey<K,N> contextKey, ForStMapState<K,N,UK,UV> table, StateRequestHandler stateRequestHandler, org.forstdb.RocksIterator rocksIterator, InternalStateFuture<StateIterator<UV>> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
buildIteratorAndCompleteFuture(Collection<UV> partialResult, boolean encounterEnd)
void
completeStateFutureExceptionally(String message, Throwable ex)
Collection<UV>
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 Detail
-
ForStDBMapValueIterRequest
public ForStDBMapValueIterRequest(ContextKey<K,N> contextKey, ForStMapState<K,N,UK,UV> table, StateRequestHandler stateRequestHandler, @Nullable org.forstdb.RocksIterator rocksIterator, InternalStateFuture<StateIterator<UV>> future)
-
-
Method Detail
-
completeStateFutureExceptionally
public void completeStateFutureExceptionally(String message, Throwable ex)
- Specified by:
completeStateFutureExceptionally
in 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:
deserializeElement
in classForStDBIterRequest<K,N,UK,UV,UV>
- Throws:
IOException
-
buildIteratorAndCompleteFuture
public void buildIteratorAndCompleteFuture(Collection<UV> partialResult, boolean encounterEnd)
- Specified by:
buildIteratorAndCompleteFuture
in classForStDBIterRequest<K,N,UK,UV,UV>
-
-