public class AsyncLookupFunctionWrapper
extends org.apache.flink.table.functions.AsyncLookupFunction
AsyncLookupFunction to wrap sync function.| Constructor and Description |
|---|
AsyncLookupFunctionWrapper(NewLookupFunction function,
int threadNumber) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Collection<org.apache.flink.table.data.RowData>> |
asyncLookup(org.apache.flink.table.data.RowData keyRow) |
void |
close() |
void |
open(org.apache.flink.table.functions.FunctionContext context) |
getKind, getTypeInferencefunctionIdentifier, toStringpublic AsyncLookupFunctionWrapper(NewLookupFunction function, int threadNumber)
public void open(org.apache.flink.table.functions.FunctionContext context)
throws Exception
open in class org.apache.flink.table.functions.UserDefinedFunctionExceptionpublic CompletableFuture<Collection<org.apache.flink.table.data.RowData>> asyncLookup(org.apache.flink.table.data.RowData keyRow)
asyncLookup in class org.apache.flink.table.functions.AsyncLookupFunctionCopyright © 2023–2024 The Apache Software Foundation. All rights reserved.