Class AsyncLookupJoinRunner
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
- 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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsyncLookupJoinRunner(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, GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture, GeneratedFunction<FilterCondition> generatedPreFilterCondition, RowDataSerializer rightRowSerializer, boolean isLeftOuterJoin, int asyncBufferCapacity) -
Method Summary
Modifier and TypeMethodDescriptionvoidasyncInvoke(org.apache.flink.table.data.RowData input, org.apache.flink.streaming.api.functions.async.ResultFuture<org.apache.flink.table.data.RowData> resultFuture) voidclose()TableFunctionResultFuture<org.apache.flink.table.data.RowData>createFetcherResultFuture(org.apache.flink.configuration.Configuration parameters) List<org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner.JoinedRowResultFuture>voidopen(org.apache.flink.api.common.functions.OpenContext openContext) Methods inherited from class org.apache.flink.streaming.api.functions.async.RichAsyncFunction
setRuntimeContextMethods inherited from class org.apache.flink.api.common.functions.AbstractRichFunction
getIterationRuntimeContext, getRuntimeContextMethods 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.AsyncFunction
timeout
-
Field Details
-
rightRowSerializer
-
preFilterCondition
-
-
Constructor Details
-
AsyncLookupJoinRunner
public AsyncLookupJoinRunner(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, GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture, GeneratedFunction<FilterCondition> generatedPreFilterCondition, RowDataSerializer rightRowSerializer, boolean isLeftOuterJoin, int asyncBufferCapacity)
-
-
Method Details
-
open
- Specified by:
openin interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
openin classorg.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:
asyncInvokein interfaceorg.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData> - Specified by:
asyncInvokein classorg.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
- Specified by:
closein interfaceorg.apache.flink.api.common.functions.RichFunction- Overrides:
closein classorg.apache.flink.api.common.functions.AbstractRichFunction- Throws:
Exception
-
getAllResultFutures
@VisibleForTesting public List<org.apache.flink.table.runtime.operators.join.lookup.AsyncLookupJoinRunner.JoinedRowResultFuture> getAllResultFutures()
-