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:
Michael Stack 2008-07-23 15:06:03 +00:00
parent 43f0fce561
commit 92f0ed2a2a
2 changed files with 9 additions and 0 deletions

View File

@ -207,6 +207,8 @@ Release 0.2.0
(Jean-Daniel Cryans via Stack) (Jean-Daniel Cryans via Stack)
HBASE-759 TestMetaUtils failing on hudson HBASE-759 TestMetaUtils failing on hudson
HBASE-761 IOE: Stream closed exception all over logs HBASE-761 IOE: Stream closed exception all over logs
HBASE-763 ClassCastException from RowResult.get(String)
(Andrew Purtell via Stack)
IMPROVEMENTS IMPROVEMENTS
HBASE-559 MR example job to count table rows HBASE-559 MR example job to count table rows

View File

@ -130,6 +130,13 @@ public class RowResult implements Writable, Map<byte [], Cell> {
return this.cells.get(column); 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. * Row entry.
*/ */