Constructor and Description |
---|
HBaseReadWriteHelper(HBaseTableSchema hbaseTableSchema) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hbase.client.Delete |
createDeleteMutation(Row 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(Row 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.
|
Row |
parseToRow(org.apache.hadoop.hbase.client.Result result)
Parses HBase
Result into Row . |
Row |
parseToRow(org.apache.hadoop.hbase.client.Result result,
Object rowKey)
Parses HBase
Result into Row . |
public HBaseReadWriteHelper(HBaseTableSchema hbaseTableSchema)
public org.apache.hadoop.hbase.client.Get createGet(Object rowKey)
public org.apache.hadoop.hbase.client.Scan createScan()
public Row parseToRow(org.apache.hadoop.hbase.client.Result result)
Result
into Row
.public Row parseToRow(org.apache.hadoop.hbase.client.Result result, Object rowKey)
Result
into Row
.public org.apache.hadoop.hbase.client.Put createPutMutation(Row row)
public org.apache.hadoop.hbase.client.Delete createDeleteMutation(Row row)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.