Class TableFunctionResultFuture<T>
java.lang.Object
org.apache.flink.api.common.functions.AbstractRichFunction
org.apache.flink.table.runtime.collector.TableFunctionResultFuture<T>
- All Implemented Interfaces:
Serializable,org.apache.flink.api.common.functions.Function,org.apache.flink.api.common.functions.RichFunction,org.apache.flink.streaming.api.functions.async.ResultFuture<T>
public abstract class TableFunctionResultFuture<T>
extends org.apache.flink.api.common.functions.AbstractRichFunction
implements org.apache.flink.streaming.api.functions.async.ResultFuture<T>
The basic implementation of collector for
ResultFuture in table joining.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteExceptionally(Throwable error) getInput()Gets the input value from left table, which will be used to cross join with the result of right table.org.apache.flink.streaming.api.functions.async.ResultFuture<?>Gets the internal collector which used to emit the final row.voidSets the input row from left table, which will be used to cross join with the result of right table.voidsetResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<?> resultFuture) Sets the current collector, which used to emit the final row.Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
close, getIterationRuntimeContext, getRuntimeContext, open, setRuntimeContextMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.streaming.api.functions.async.ResultFuture
complete
-
Constructor Details
-
TableFunctionResultFuture
public TableFunctionResultFuture()
-
-
Method Details
-
setInput
Sets the input row from left table, which will be used to cross join with the result of right table. -
getInput
Gets the input value from left table, which will be used to cross join with the result of right table. -
setResultFuture
public void setResultFuture(org.apache.flink.streaming.api.functions.async.ResultFuture<?> resultFuture) Sets the current collector, which used to emit the final row. -
getResultFuture
public org.apache.flink.streaming.api.functions.async.ResultFuture<?> getResultFuture()Gets the internal collector which used to emit the final row. -
completeExceptionally
- Specified by:
completeExceptionallyin interfaceorg.apache.flink.streaming.api.functions.async.ResultFuture<T>
-