public class HBaseSerde extends Object
Constructor and Description |
---|
HBaseSerde(HBaseTableSchema hbaseSchema,
String nullStringLiteral) |
Modifier and Type | Method and Description |
---|---|
RowData |
convertToNewRow(org.apache.hadoop.hbase.client.Result result)
Converts HBase
Result into a new RowData instance. |
RowData |
convertToReusedRow(org.apache.hadoop.hbase.client.Result result)
Converts HBase
Result into a reused RowData instance. |
RowData |
convertToRow(org.apache.hadoop.hbase.client.Result result)
Deprecated.
Use
convertToReusedRow(Result) instead. |
org.apache.hadoop.hbase.client.Delete |
createDeleteMutation(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(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(RowData row)
@Nullable public org.apache.hadoop.hbase.client.Delete createDeleteMutation(RowData row)
public org.apache.hadoop.hbase.client.Scan createScan()
public org.apache.hadoop.hbase.client.Get createGet(Object rowKey)
public RowData convertToNewRow(org.apache.hadoop.hbase.client.Result result)
public RowData convertToReusedRow(org.apache.hadoop.hbase.client.Result result)
@Deprecated public RowData convertToRow(org.apache.hadoop.hbase.client.Result result)
convertToReusedRow(Result)
instead.Result
into RowData
.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.