[
https://issues.apache.org/jira/browse/HBASE-12084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anoop Sam John updated HBASE-12084:
-----------------------------------
Resolution: Fixed
Release Note:
The below KeyValue based APIs are removed from Result
KeyValue[] raw()
List<KeyValue> list()
List<KeyValue> getColumn(byte [] family, byte [] qualifier)
KeyValue getColumnLatest(byte [] family, byte [] qualifier)
KeyValue getColumnLatest(byte [] family, int foffset, int flength, byte []
qualifier, int qoffset, int qlength)
They are replaced with
Cell[] rawCells()
List<Cell> listCells()
List<Cell> getColumnCells(byte [] family, byte [] qualifier)
Cell getColumnLatestCell(byte [] family, byte [] qualifier)
Cell getColumnLatestCell(byte [] family, int foffset, int flength, byte []
qualifier, int qoffset, int qlength)
respectively
Also the constructors which were taking KeyValues also removed
Result(KeyValue [] cells)
Result(List<KeyValue> kvs)
Hadoop Flags: Incompatible change,Reviewed (was: Incompatible change)
Status: Resolved (was: Patch Available)
Pushed to master.
Thanks Stack and Enis for the quick reviews
> Remove deprecated APIs from Result
> ----------------------------------
>
> Key: HBASE-12084
> URL: https://issues.apache.org/jira/browse/HBASE-12084
> Project: HBase
> Issue Type: Sub-task
> Components: Client
> Reporter: Anoop Sam John
> Assignee: Anoop Sam John
> Fix For: 2.0.0
>
> Attachments: HBASE-12084.patch, HBASE-12084.patch
>
>
> Remove KeyValue based APIs and keep only Cell based.
> These are deprecated since 0.96
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)