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.
public class ForStDBMapCheckRequest<K,N,V> extends ForStDBGetRequest<K,N,V,Boolean>
The Map#isEmpty() and Map#contains() request for ForStDB.
-
-
Constructor Summary
Constructors Constructor Description ForStDBMapCheckRequest(ContextKey<K,N> key, ForStInnerTable<K,N,V> table, org.apache.flink.core.asyncprocessing.InternalAsyncFuture<Boolean> future, boolean checkEmpty)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteStateFuture(byte[] bytesValue)voidprocess(org.forstdb.RocksDB db)-
Methods inherited from class org.apache.flink.state.forst.ForStDBGetRequest
buildSerializedKey, completeStateFutureExceptionally, getColumnFamilyHandle
-
-
-
-
Constructor Detail
-
ForStDBMapCheckRequest
public ForStDBMapCheckRequest(ContextKey<K,N> key, ForStInnerTable<K,N,V> table, org.apache.flink.core.asyncprocessing.InternalAsyncFuture<Boolean> future, boolean checkEmpty)
-
-
Method Detail
-
process
public void process(org.forstdb.RocksDB db) throws org.forstdb.RocksDBException, IOException- 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>
-
-