@Internal
public class MongoRowDataLookupFunction
extends org.apache.flink.table.functions.LookupFunction
MongoDynamicTableSource.| Constructor and Description |
|---|
MongoRowDataLookupFunction(MongoConnectionOptions connectionOptions,
int maxRetries,
long retryIntervalMs,
List<String> fieldNames,
List<org.apache.flink.table.types.DataType> fieldTypes,
List<String> keyNames,
org.apache.flink.table.types.logical.RowType rowType) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Collection<org.apache.flink.table.data.RowData> |
lookup(org.apache.flink.table.data.RowData keyRow)
This is a lookup method which is called by Flink framework in runtime.
|
void |
open(org.apache.flink.table.functions.FunctionContext context) |
collect, finish, getKind, getParameterTypes, getResultType, getTypeInference, setCollectorfunctionIdentifier, toStringpublic void open(org.apache.flink.table.functions.FunctionContext context)
open in class org.apache.flink.table.functions.UserDefinedFunctionpublic Collection<org.apache.flink.table.data.RowData> lookup(org.apache.flink.table.data.RowData keyRow)
lookup in class org.apache.flink.table.functions.LookupFunctionkeyRow - lookup keyspublic void close()
throws IOException
close in class org.apache.flink.table.functions.UserDefinedFunctionIOExceptionCopyright © 2022–2025 The Apache Software Foundation. All rights reserved.