|
||||||||||
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()
default constructor for writable |
|
RowResult(byte[] row,
HbaseMapWritable<byte[],Cell> m)
Create a RowResult from a row and Cell map |
Method Summary | |
---|---|
void |
clear()
|
Comparator<? super byte[]> |
comparator()
|
boolean |
containsKey(Object key)
|
boolean |
containsKey(String key)
|
boolean |
containsValue(Object value)
|
Set<Map.Entry<byte[],Cell>> |
entrySet()
|
byte[] |
firstKey()
|
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 |
SortedMap<byte[],Cell> |
headMap(byte[] toKey)
|
boolean |
isEmpty()
|
Set<byte[]> |
keySet()
|
byte[] |
lastKey()
|
Cell |
put(byte[] key,
Cell value)
|
void |
putAll(Map map)
|
void |
readFields(DataInput in)
|
Cell |
remove(Object key)
|
int |
size()
|
SortedMap<byte[],Cell> |
subMap(byte[] fromKey,
byte[] toKey)
|
SortedMap<byte[],Cell> |
tailMap(byte[] fromKey)
|
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)
row
- 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 containsKey(String key)
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>
keySet
in interface SortedMap<byte[],Cell>
public Set<Map.Entry<byte[],Cell>> entrySet()
entrySet
in interface Map<byte[],Cell>
entrySet
in interface SortedMap<byte[],Cell>
public Collection<Cell> values()
values
in interface Map<byte[],Cell>
values
in interface SortedMap<byte[],Cell>
public Cell get(byte[] column)
column
-
public Cell get(String key)
key
-
public Comparator<? super byte[]> comparator()
comparator
in interface SortedMap<byte[],Cell>
public byte[] firstKey()
firstKey
in interface SortedMap<byte[],Cell>
public SortedMap<byte[],Cell> headMap(byte[] toKey)
headMap
in interface SortedMap<byte[],Cell>
public byte[] lastKey()
lastKey
in interface SortedMap<byte[],Cell>
public SortedMap<byte[],Cell> subMap(byte[] fromKey, byte[] toKey)
subMap
in interface SortedMap<byte[],Cell>
public SortedMap<byte[],Cell> tailMap(byte[] fromKey)
tailMap
in interface SortedMap<byte[],Cell>
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 |