Class AsyncStateKeyContext
java.lang.Object
org.apache.flink.table.runtime.operators.window.async.tvf.state.AsyncStateKeyContext
Context to switch current key in async state backend.
-
Constructor Summary
ConstructorsConstructorDescriptionAsyncStateKeyContext(org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator<org.apache.flink.table.data.RowData> asyncStateProcessingOperator, org.apache.flink.runtime.state.AsyncKeyedStateBackend<?> asyncKeyedStateBackend) -
Method Summary
Modifier and TypeMethodDescriptionvoidasyncProcessWithKey(org.apache.flink.table.data.RowData key, org.apache.flink.util.function.ThrowingRunnable<Exception> processing) org.apache.flink.runtime.state.AsyncKeyedStateBackend<?>org.apache.flink.table.data.RowData
-
Constructor Details
-
AsyncStateKeyContext
public AsyncStateKeyContext(org.apache.flink.runtime.asyncprocessing.operators.AbstractAsyncStateStreamOperator<org.apache.flink.table.data.RowData> asyncStateProcessingOperator, org.apache.flink.runtime.state.AsyncKeyedStateBackend<?> asyncKeyedStateBackend)
-
-
Method Details
-
asyncProcessWithKey
public void asyncProcessWithKey(org.apache.flink.table.data.RowData key, org.apache.flink.util.function.ThrowingRunnable<Exception> processing) -
getAsyncKeyedStateBackend
public org.apache.flink.runtime.state.AsyncKeyedStateBackend<?> getAsyncKeyedStateBackend() -
getCurrentKey
public org.apache.flink.table.data.RowData getCurrentKey()
-