Class AsyncLookupJoinRunner

  • 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.AsyncFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>
    Direct Known Subclasses:
    AsyncLookupJoinWithCalcRunner

    public class AsyncLookupJoinRunner
    extends org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>
    The async join runner to lookup the dimension table.
    See Also:
    Serialized Form
    • Method Detail

      • open

        public void open​(org.apache.flink.api.common.functions.OpenContext openContext)
                  throws Exception
        Specified by:
        open in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        open in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception
      • asyncInvoke

        public void asyncInvoke​(org.apache.flink.table.data.RowData input,
                                org.apache.flink.streaming.api.functions.async.ResultFuture<org.apache.flink.table.data.RowData> resultFuture)
                         throws Exception
        Specified by:
        asyncInvoke in interface org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>
        Specified by:
        asyncInvoke in class org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,​org.apache.flink.table.data.RowData>
        Throws:
        Exception
      • createFetcherResultFuture

        public TableFunctionResultFuture<org.apache.flink.table.data.RowData> createFetcherResultFuture​(org.apache.flink.configuration.Configuration parameters)
                                                                                                 throws Exception
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface org.apache.flink.api.common.functions.RichFunction
        Overrides:
        close in class org.apache.flink.api.common.functions.AbstractRichFunction
        Throws:
        Exception
      • getAllResultFutures

        @VisibleForTesting
        public List<org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner.JoinedRowResultFuture> getAllResultFutures()