public class AsyncFunctionRunner
extends org.apache.flink.streaming.api.functions.async.RichAsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>
AsyncScalarFunction, which
takes the generated function, instantiates it, and then calls its lifecycle methods.| Constructor and Description |
|---|
AsyncFunctionRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>> generatedFetcher) |
| 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() |
void |
open(org.apache.flink.api.common.functions.OpenContext openContext) |
setRuntimeContextgetIterationRuntimeContext, getRuntimeContext, openpublic AsyncFunctionRunner(GeneratedFunction<org.apache.flink.streaming.api.functions.async.AsyncFunction<org.apache.flink.table.data.RowData,org.apache.flink.table.data.RowData>> generatedFetcher)
public void open(org.apache.flink.api.common.functions.OpenContext openContext)
throws Exception
Exceptionpublic void asyncInvoke(org.apache.flink.table.data.RowData input,
org.apache.flink.streaming.api.functions.async.ResultFuture<org.apache.flink.table.data.RowData> resultFuture)
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>Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.