Class AsyncLookupJoinWithCalcRunner
- java.lang.Object
-
- org.apache.flink.api.common.functions.AbstractRichFunction
-
- org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
-
- org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner
-
- org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinWithCalcRunner
-
- 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>
public class AsyncLookupJoinWithCalcRunner extends AsyncLookupJoinRunner
The async join runner with an additional calculate function on the dimension table.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner
rightRowSerializer
-
-
Constructor Summary
Constructors Constructor Description AsyncLookupJoinWithCalcRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,Object>> generatedFetcher, DataStructureConverter<org.apache.flink.table.data.RowData,Object> fetcherConverter, GeneratedFunction<org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>> generatedCalc, GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture, RowDataSerializer rightRowSerializer, boolean isLeftOuterJoin, int asyncBufferCapacity)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()TableFunctionResultFuture<org.apache.flink.table.data.RowData>createFetcherResultFuture(org.apache.flink.configuration.Configuration parameters)voidopen(org.apache.flink.configuration.Configuration parameters)-
Methods inherited from class org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner
asyncInvoke, getAllResultFutures
-
Methods inherited from class org.apache.flink.streaming.api.functions.async.RichAsyncFunction
setRuntimeContext
-
Methods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
getIterationRuntimeContext, getRuntimeContext
-
-
-
-
Constructor Detail
-
AsyncLookupJoinWithCalcRunner
public AsyncLookupJoinWithCalcRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,Object>> generatedFetcher, DataStructureConverter<org.apache.flink.table.data.RowData,Object> fetcherConverter, GeneratedFunction<org.apache.flink.api.common.functions.FlatMapFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>> generatedCalc, GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture, RowDataSerializer rightRowSerializer, boolean isLeftOuterJoin, int asyncBufferCapacity)
-
-
Method Detail
-
open
public void open(org.apache.flink.configuration.Configuration parameters) throws Exception- Specified by:
openin interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
openin classAsyncLookupJoinRunner- Throws:
Exception
-
createFetcherResultFuture
public TableFunctionResultFuture<org.apache.flink.table.data.RowData> createFetcherResultFuture(org.apache.flink.configuration.Configuration parameters) throws Exception
- Overrides:
createFetcherResultFuturein classAsyncLookupJoinRunner- Throws:
Exception
-
close
public void close() throws Exception- Specified by:
closein interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
closein classAsyncLookupJoinRunner- Throws:
Exception
-
-