public class AsyncLookupJoinRunner
extends org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
| Constructor and Description |
|---|
AsyncLookupJoinRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,Object>> generatedFetcher,
GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture,
org.apache.flink.api.common.typeinfo.TypeInformation<?> fetcherReturnType,
InternalTypeInfo<org.apache.flink.table.data.RowData> rightRowTypeInfo,
boolean isLeftOuterJoin,
int asyncBufferCapacity) |
| Modifier and Type | Method and Description |
|---|---|
void |
asyncInvoke(org.apache.flink.table.data.RowData input,
org.apache.flink.streaming.api.functions.async.ResultFuture<org.apache.flink.table.data.RowData> resultFuture) |
void |
close() |
TableFunctionResultFuture<org.apache.flink.table.data.RowData> |
createFetcherResultFuture(org.apache.flink.configuration.Configuration parameters) |
void |
open(org.apache.flink.configuration.Configuration parameters) |
setRuntimeContextgetIterationRuntimeContext, getRuntimeContextpublic AsyncLookupJoinRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,Object>> generatedFetcher, GeneratedResultFuture<TableFunctionResultFuture<org.apache.flink.table.data.RowData>> generatedResultFuture, org.apache.flink.api.common.typeinfo.TypeInformation<?> fetcherReturnType, InternalTypeInfo<org.apache.flink.table.data.RowData> rightRowTypeInfo, boolean isLeftOuterJoin, int asyncBufferCapacity)
public void open(org.apache.flink.configuration.Configuration parameters)
throws Exception
open in interface org.apache.flink.api.common.functions.RichFunctionopen in class org.apache.flink.api.common.functions.AbstractRichFunctionExceptionpublic 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
asyncInvoke in interface org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>asyncInvoke in class org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>Exceptionpublic TableFunctionResultFuture<org.apache.flink.table.data.RowData> createFetcherResultFuture(org.apache.flink.configuration.Configuration parameters) throws Exception
ExceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.