|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.io.RowResult
public class RowResult
Holds row name and then a map of columns to cells.
Nested Class Summary | |
---|---|
class |
RowResult.Entry
Row entry. |
Constructor Summary | |
---|---|
RowResult()
|
|
RowResult(byte[] row,
HbaseMapWritable<byte[],Cell> m)
Create a RowResult from a row and Cell map |
Method Summary | |
---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<byte[],Cell>> |
entrySet()
|
Cell |
get(byte[] column)
Get the Cell that corresponds to column |
Cell |
get(Object key)
|
Cell |
get(String key)
Get the Cell that corresponds to column, using a String key |
byte[] |
getRow()
Get the row for this RowResult |
boolean |
isEmpty()
|
Set<byte[]> |
keySet()
|
Cell |
put(byte[] key,
Cell value)
|
void |
putAll(Map map)
|
void |
readFields(DataInput in)
|
Cell |
remove(Object key)
|
int |
size()
|
String |
toString()
|
Collection<Cell> |
values()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
equals, hashCode |
Constructor Detail |
---|
public RowResult()
public RowResult(byte[] row, HbaseMapWritable<byte[],Cell> m)
Method Detail |
---|
public byte[] getRow()
public Cell put(byte[] key, Cell value)
put
in interface Map<byte[],Cell>
public void putAll(Map map)
putAll
in interface Map<byte[],Cell>
public Cell get(Object key)
get
in interface Map<byte[],Cell>
public Cell remove(Object key)
remove
in interface Map<byte[],Cell>
public boolean containsKey(Object key)
containsKey
in interface Map<byte[],Cell>
public boolean containsValue(Object value)
containsValue
in interface Map<byte[],Cell>
public boolean isEmpty()
isEmpty
in interface Map<byte[],Cell>
public int size()
size
in interface Map<byte[],Cell>
public void clear()
clear
in interface Map<byte[],Cell>
public Set<byte[]> keySet()
keySet
in interface Map<byte[],Cell>
public Set<Map.Entry<byte[],Cell>> entrySet()
entrySet
in interface Map<byte[],Cell>
public Collection<Cell> values()
values
in interface Map<byte[],Cell>
public Cell get(byte[] column)
public Cell get(String key)
public String toString()
toString
in class Object
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |