@Internal
public class HBaseRowDataAsyncLookupFunction
extends org.apache.flink.table.functions.AsyncTableFunction<org.apache.flink.table.data.RowData>
RowData.| Constructor and Description |
|---|
HBaseRowDataAsyncLookupFunction(org.apache.hadoop.conf.Configuration configuration,
String hTableName,
org.apache.flink.connector.hbase.util.HBaseTableSchema hbaseTableSchema,
String nullStringLiteral,
org.apache.flink.connector.hbase.options.HBaseLookupOptions lookupOptions) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
eval(CompletableFuture<Collection<org.apache.flink.table.data.RowData>> future,
Object rowKey)
The invoke entry point of lookup function.
|
String |
getHTableName() |
void |
open(org.apache.flink.table.functions.FunctionContext context) |
getKind, getTypeInferencefunctionIdentifier, toStringpublic HBaseRowDataAsyncLookupFunction(org.apache.hadoop.conf.Configuration configuration,
String hTableName,
org.apache.flink.connector.hbase.util.HBaseTableSchema hbaseTableSchema,
String nullStringLiteral,
org.apache.flink.connector.hbase.options.HBaseLookupOptions lookupOptions)
public void open(org.apache.flink.table.functions.FunctionContext context)
open in class org.apache.flink.table.functions.UserDefinedFunctionpublic void eval(CompletableFuture<Collection<org.apache.flink.table.data.RowData>> future, Object rowKey)
future - The result or exception is returned.rowKey - the lookup key. Currently only support single rowkey.public void close()
close in class org.apache.flink.table.functions.UserDefinedFunction@VisibleForTesting public String getHTableName()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.