|
||||||||||
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
Deprecated. Row entry. |
Constructor Summary | |
---|---|
RowResult()
Deprecated. default constructor for writable |
|
RowResult(byte[] row,
HbaseMapWritable<byte[],Cell> m)
Deprecated. Create a RowResult from a row and Cell map |
Method Summary | |
---|---|
void |
clear()
Deprecated. |
Comparator<? super byte[]> |
comparator()
Deprecated. |
int |
compareTo(RowResult o)
Deprecated. Comparing this RowResult with another one by comparing the row in it. |
boolean |
containsKey(Object key)
Deprecated. |
boolean |
containsKey(String key)
Deprecated. Check if the key can be found in this RowResult |
boolean |
containsValue(Object value)
Deprecated. |
static RowResult |
createRowResult(List<KeyValue> results)
Deprecated. |
static RowResult[] |
createRowResultArray(List<List<KeyValue>> l)
Deprecated. |
Set<Map.Entry<byte[],Cell>> |
entrySet()
Deprecated. |
byte[] |
firstKey()
Deprecated. |
Cell |
get(byte[] column)
Deprecated. Get the Cell that corresponds to column |
Cell |
get(byte[] family,
byte[] columnQualifier)
Deprecated. Get a cell using seperate family, columnQualifier arguments. |
Cell |
get(Object key)
Deprecated. |
Cell |
get(String key)
Deprecated. Get the Cell that corresponds to column, using a String key |
RestCell[] |
getCells()
Deprecated. This method used solely for the REST serialization |
byte[] |
getRow()
Deprecated. Get the row for this RowResult |
SortedMap<byte[],Cell> |
headMap(byte[] toKey)
Deprecated. |
boolean |
isEmpty()
Deprecated. |
Set<byte[]> |
keySet()
Deprecated. |
byte[] |
lastKey()
Deprecated. |
Cell |
put(byte[] key,
Cell value)
Deprecated. |
void |
putAll(Map map)
Deprecated. |
void |
readFields(DataInput in)
Deprecated. |
Cell |
remove(Object key)
Deprecated. |
void |
restSerialize(IRestSerializer serializer)
Deprecated. visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream. |
int |
size()
Deprecated. |
SortedMap<byte[],Cell> |
subMap(byte[] fromKey,
byte[] toKey)
Deprecated. |
SortedMap<byte[],Cell> |
tailMap(byte[] fromKey)
Deprecated. |
String |
toString()
Deprecated. |
Collection<Cell> |
values()
Deprecated. |
void |
write(DataOutput out)
Deprecated. |
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)
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 RestCell[] getCells()
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 Cell get(byte[] family, byte[] columnQualifier)
family
- columnQualifier
-
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 restSerialize(IRestSerializer serializer) throws HBaseRestException
ISerializable
restSerialize
in interface ISerializable
HBaseRestException
public static RowResult[] createRowResultArray(List<List<KeyValue>> l)
l
-
public static RowResult createRowResult(List<KeyValue> results)
results
-
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
public int compareTo(RowResult o)
compareTo
in interface Comparable<RowResult>
o
- the RowResult Object to compare to
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |