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, getTypeInference
functionIdentifier, toString
public 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.UserDefinedFunction
Exception
public CompletableFuture<Collection<org.apache.flink.table.data.RowData>> asyncLookup(org.apache.flink.table.data.RowData keyRow)
asyncLookup
in class org.apache.flink.table.functions.AsyncLookupFunction
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.