org.apache.hadoop.hbase.rest.descriptors
Class RestCell
java.lang.Object
org.apache.hadoop.hbase.io.Cell
org.apache.hadoop.hbase.rest.descriptors.RestCell
- All Implemented Interfaces:
- Iterable<Map.Entry<Long,byte[]>>, ISerializable, org.apache.hadoop.io.Writable
public class RestCell
- extends Cell
Fields inherited from class org.apache.hadoop.hbase.io.Cell |
valueMap |
Methods inherited from class org.apache.hadoop.hbase.io.Cell |
add, createCells, createSingleCellArray, getNumValues, getTimestamp, getValue, iterator, readFields, restSerialize, toString, write |
RestCell
public RestCell()
RestCell
public RestCell(byte[] name,
Cell cell)
- Parameters:
name
- cell
-
RestCell
public RestCell(byte[] value,
long timestamp)
- Parameters:
value
- timestamp
-
RestCell
public RestCell(byte[][] vals,
long[] ts)
- Parameters:
vals
- ts
-
RestCell
public RestCell(String value,
long timestamp)
- Parameters:
value
- timestamp
-
RestCell
public RestCell(String[] vals,
long[] ts)
- Parameters:
vals
- ts
-
getName
public byte[] getName()
- Returns:
- the name
setName
public void setName(byte[] name)
- Parameters:
name
- the name to set
Copyright © 2009 The Apache Software Foundation