Class DelegatingAsyncResultFuture
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.calc.async.DelegatingAsyncResultFuture
-
- All Implemented Interfaces:
BiConsumer<Object,Throwable>
public class DelegatingAsyncResultFuture extends Object implements BiConsumer<Object,Throwable>
Inspired byDelegatingResultFutureforAsyncScalarFunction.
-
-
Constructor Summary
Constructors Constructor Description DelegatingAsyncResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<Object> delegatedResultFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(Object o, Throwable throwable)voidaddSynchronousResult(Object object)CompletableFuture<?>createAsyncFuture(DataStructureConverter<Object,Object> converter)ObjectgetSynchronousResult(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, wait
-
Methods inherited from interface java.util.function.BiConsumer
andThen
-
-
-
-
Constructor Detail
-
DelegatingAsyncResultFuture
public DelegatingAsyncResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<Object> delegatedResultFuture)
-
-
Method Detail
-
addSynchronousResult
public void addSynchronousResult(Object object)
-
getSynchronousResult
public Object getSynchronousResult(int index)
-
setOutputFactory
public void setOutputFactory(Function<Object,org.apache.flink.table.data.RowData> outputFactory)
-
createAsyncFuture
public CompletableFuture<?> createAsyncFuture(DataStructureConverter<Object,Object> converter)
-
-