Package org.apache.flink.state.forst
Class ForStDBBunchPutRequest<K,N,UK,UV>
java.lang.Object
org.apache.flink.state.forst.ForStDBPutRequest<K,N,Map<UK,UV>>
org.apache.flink.state.forst.ForStDBBunchPutRequest<K,N,UK,UV>
- Type Parameters:
K- The type of key in put state access request.N- The type of namespace in put state access request.UK- The type of user key in put state access request.UV- The type of user value in put state access request.
The Bunch Put access request for ForStDB.
-
Constructor Summary
ConstructorsConstructorDescriptionForStDBBunchPutRequest(ContextKey<K, N> key, Map<UK, UV> value, ForStMapState<K, N, UK, UV> table, org.apache.flink.core.state.InternalStateFuture<Void> future) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]buildSerializedKey(UK userKey) byte[]buildSerializedValue(UV singleValue) Map<?,?> voidprocess(ForStDBWriteBatchWrapper writeBatchWrapper, org.forstdb.RocksDB db) Methods inherited from class org.apache.flink.state.forst.ForStDBPutRequest
buildSerializedKey, buildSerializedValue, completeStateFuture, completeStateFutureExceptionally, getColumnFamilyHandle, valueIsNull
-
Constructor Details
-
ForStDBBunchPutRequest
-
-
Method Details
-
process
public void process(ForStDBWriteBatchWrapper writeBatchWrapper, org.forstdb.RocksDB db) throws IOException, org.forstdb.RocksDBException - Overrides:
processin classForStDBPutRequest<K,N, Map<UK, UV>> - Throws:
IOExceptionorg.forstdb.RocksDBException
-
buildSerializedKey
- Throws:
IOException
-
buildSerializedValue
- Throws:
IOException
-
getBunchValue
-