Class DelegatingAsyncResultFuture
java.lang.Object
org.apache.flink.table.runtime.operators.calc.async.DelegatingAsyncResultFuture
- All Implemented Interfaces:
BiConsumer<Object,Throwable>
Inspired by
DelegatingResultFuture
for AsyncScalarFunction.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingAsyncResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<Object> delegatedResultFuture) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddSynchronousResult(Object object) createAsyncFuture(DataStructureConverter<Object, Object> converter) getSynchronousResult(int index) voidsetOutputFactory(Function<Object, org.apache.flink.table.data.RowData> outputFactory) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
DelegatingAsyncResultFuture
public DelegatingAsyncResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<Object> delegatedResultFuture)
-
-
Method Details
-
addSynchronousResult
-
getSynchronousResult
-
setOutputFactory
-
createAsyncFuture
-
accept
- Specified by:
acceptin interfaceBiConsumer<Object,Throwable>
-