Class 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:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void completeExceptionally​(Throwable error)  
      Object 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<?> getResultFuture()
      Gets the internal collector which used to emit the final row.
      void setInput​(Object input)
      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 interface org.apache.flink.streaming.api.functions.async.ResultFuture

        complete
    • Constructor Detail

      • TableFunctionResultFuture

        public TableFunctionResultFuture()
    • Method Detail

      • 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>