HBASE-898 RowResult.containsKey(String) doesn't work
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@698378 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ed8a0c939f
commit
97867f9a95
|
@ -7,6 +7,8 @@ Release 0.19.0 - Unreleased
|
|||
BUG FIXES
|
||||
HBASE-891 HRS.validateValuesLength throws IOE, gets caught in the retries
|
||||
HBASE-892 Cell iteration is broken (Doğacan Güney via Jim Kellerman)
|
||||
HBASE-898 RowResult.containsKey(String) doesn't work
|
||||
(Doğacan Güney via Jim Kellerman)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-890 Alter table operation and also related changes in REST interface
|
||||
|
|
|
@ -92,6 +92,10 @@ public class RowResult implements Writable, SortedMap<byte [], Cell> {
|
|||
public boolean containsKey(Object key) {
|
||||
return cells.containsKey(key);
|
||||
}
|
||||
|
||||
public boolean containsKey(String key) {
|
||||
return cells.containsKey(Bytes.toBytes(key));
|
||||
}
|
||||
|
||||
public boolean containsValue(@SuppressWarnings("unused") Object value) {
|
||||
throw new UnsupportedOperationException("Don't support containsValue!");
|
||||
|
|
Loading…
Reference in New Issue