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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    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.
    void
    Sets the input row from left table, which will be used to cross join with the result of right table.
    void
    setResultFuture(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, setRuntimeContext

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.apache.flink.streaming.api.functions.async.ResultFuture

    complete
  • Constructor Details

    • TableFunctionResultFuture

      public TableFunctionResultFuture()
  • Method Details

    • setInput

      public void setInput(Object input)
      Sets the input row from left table, which will be used to cross join with the result of right table.
    • getInput

      public Object 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

      public void completeExceptionally(Throwable error)
      Specified by:
      completeExceptionally in interface org.apache.flink.streaming.api.functions.async.ResultFuture<T>