Package org.apache.flink.state.forst
Class ForStDBMapCheckRequest<K,N,V>
java.lang.Object
org.apache.flink.state.forst.ForStDBGetRequest<K,N,V,Boolean>
org.apache.flink.state.forst.ForStDBMapCheckRequest<K,N,V>
- Type Parameters:
K- The type of key in map check request.N- The type of namespace in map check request.V- The type of value in map check request.
The Map#isEmpty() and Map#contains() request for ForStDB.
-
Constructor Summary
ConstructorsConstructorDescriptionForStDBMapCheckRequest(ContextKey<K, N> key, ForStInnerTable<K, N, V> table, org.apache.flink.core.state.InternalStateFuture<Boolean> future, boolean checkEmpty) -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteStateFuture(byte[] bytesValue) voidprocess(org.forstdb.RocksDB db) Methods inherited from class org.apache.flink.state.forst.ForStDBGetRequest
buildSerializedKey, completeStateFutureExceptionally, getColumnFamilyHandle
-
Constructor Details
-
ForStDBMapCheckRequest
public ForStDBMapCheckRequest(ContextKey<K, N> key, ForStInnerTable<K, N, V> table, org.apache.flink.core.state.InternalStateFuture<Boolean> future, boolean checkEmpty)
-
-
Method Details
-
process
- Overrides:
processin classForStDBGetRequest<K,N, V, Boolean> - Throws:
org.forstdb.RocksDBExceptionIOException
-
completeStateFuture
public void completeStateFuture(byte[] bytesValue) - Specified by:
completeStateFuturein classForStDBGetRequest<K,N, V, Boolean>
-