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 of
CompletableFuture to ResultFuture. This
is used as a bridge between AsyncTableFunction and
AsyncFunction.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatingResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<OUT> delegatedResultFuture) -
Method Summary
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
-
DelegatingResultFuture
public DelegatingResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<OUT> delegatedResultFuture)
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<Collection<OUT>,Throwable>
-
getCompletableFuture
-