Class DelegatingResultFuture<OUT>
- java.lang.Object
-
- org.apache.flink.table.runtime.operators.join.lookup.DelegatingResultFuture<OUT>
-
- All Implemented Interfaces:
BiConsumer<Collection<OUT>,Throwable>
public class DelegatingResultFuture<OUT> extends Object implements BiConsumer<Collection<OUT>,Throwable>
Delegates actions ofCompletableFuture
toResultFuture
. This is used as a bridge betweenAsyncTableFunction
andAsyncFunction
.
-
-
Constructor Summary
Constructors Constructor Description DelegatingResultFuture(ResultFuture<OUT> delegatedResultFuture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Collection<OUT> outs, Throwable throwable)
CompletableFuture<Collection<OUT>>
getCompletableFuture()
-
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
-
DelegatingResultFuture
public DelegatingResultFuture(ResultFuture<OUT> delegatedResultFuture)
-
-
Method Detail
-
accept
public void accept(Collection<OUT> outs, Throwable throwable)
- Specified by:
accept
in interfaceBiConsumer<Collection<OUT>,Throwable>
-
getCompletableFuture
public CompletableFuture<Collection<OUT>> getCompletableFuture()
-
-