HBASE-763 ClassCastException from RowResult.get(String)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@679107 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
43f0fce561
commit
92f0ed2a2a
|
@ -207,6 +207,8 @@ Release 0.2.0
|
|||
(Jean-Daniel Cryans via Stack)
|
||||
HBASE-759 TestMetaUtils failing on hudson
|
||||
HBASE-761 IOE: Stream closed exception all over logs
|
||||
HBASE-763 ClassCastException from RowResult.get(String)
|
||||
(Andrew Purtell via Stack)
|
||||
|
||||
IMPROVEMENTS
|
||||
HBASE-559 MR example job to count table rows
|
||||
|
|
|
@ -130,6 +130,13 @@ public class RowResult implements Writable, Map<byte [], Cell> {
|
|||
return this.cells.get(column);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the Cell that corresponds to column, using a String key
|
||||
*/
|
||||
public Cell get(String key) {
|
||||
return get(Bytes.toBytes(key));
|
||||
}
|
||||
|
||||
/**
|
||||
* Row entry.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue