public class HBaseSerde extends Object
| 构造器和说明 |
|---|
HBaseSerde(HBaseTableSchema hbaseSchema,
String nullStringLiteral) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.table.data.RowData |
convertToRow(org.apache.hadoop.hbase.client.Result result)
Converts HBase
Result into RowData. |
org.apache.hadoop.hbase.client.Delete |
createDeleteMutation(org.apache.flink.table.data.RowData row)
Returns an instance of Delete that remove record from HBase table.
|
org.apache.hadoop.hbase.client.Get |
createGet(Object rowKey)
Returns an instance of Get that retrieves the matches records from the HBase table.
|
org.apache.hadoop.hbase.client.Put |
createPutMutation(org.apache.flink.table.data.RowData row)
Returns an instance of Put that writes record to HBase table.
|
org.apache.hadoop.hbase.client.Scan |
createScan()
Returns an instance of Scan that retrieves the required subset of records from the HBase table.
|
public HBaseSerde(HBaseTableSchema hbaseSchema, String nullStringLiteral)
@Nullable public org.apache.hadoop.hbase.client.Put createPutMutation(org.apache.flink.table.data.RowData row)
@Nullable public org.apache.hadoop.hbase.client.Delete createDeleteMutation(org.apache.flink.table.data.RowData row)
public org.apache.hadoop.hbase.client.Scan createScan()
public org.apache.hadoop.hbase.client.Get createGet(Object rowKey)
public org.apache.flink.table.data.RowData convertToRow(org.apache.hadoop.hbase.client.Result result)
Result into RowData.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.