@Internal
public class HBaseRowDataLookupFunction
extends org.apache.flink.table.functions.TableFunction<org.apache.flink.table.data.RowData>
RowData.| 构造器和说明 |
|---|
HBaseRowDataLookupFunction(org.apache.hadoop.conf.Configuration configuration,
String hTableName,
HBaseTableSchema hbaseTableSchema,
String nullStringLiteral) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
close() |
void |
eval(Object rowKey)
The invoke entry point of lookup function.
|
String |
getHTableName() |
void |
open(org.apache.flink.table.functions.FunctionContext context) |
collect, getKind, getParameterTypes, getResultType, getTypeInference, setCollectorpublic HBaseRowDataLookupFunction(org.apache.hadoop.conf.Configuration configuration,
String hTableName,
HBaseTableSchema hbaseTableSchema,
String nullStringLiteral)
public void eval(Object rowKey) throws IOException
rowKey - the lookup key. Currently only support single rowkey.IOExceptionpublic void open(org.apache.flink.table.functions.FunctionContext context)
open 在类中 org.apache.flink.table.functions.UserDefinedFunctionpublic void close()
close 在类中 org.apache.flink.table.functions.UserDefinedFunction@VisibleForTesting public String getHTableName()
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.