org.apache.hadoop.hbase.thrift.generated
Class TCell
java.lang.Object
org.apache.hadoop.hbase.thrift.generated.TCell
- All Implemented Interfaces:
- com.facebook.thrift.TBase, Serializable
public class TCell
- extends Object
- implements com.facebook.thrift.TBase, Serializable
TCell - Used to transport a cell value (byte[]) and the timestamp it was
stored with together as a result for get and getRow methods. This promotes
the timestamp of a cell to a first-class value, making it easy to take
note of temporal data. Cell is used all the way from HStore up to HTable.
- See Also:
- Serialized Form
Constructor Summary |
TCell()
|
TCell(byte[] value,
long timestamp)
|
value
public byte[] value
timestamp
public long timestamp
__isset
public final TCell.Isset __isset
TCell
public TCell()
TCell
public TCell(byte[] value,
long timestamp)
equals
public boolean equals(Object that)
- Overrides:
equals
in class Object
equals
public boolean equals(TCell that)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
read
public void read(com.facebook.thrift.protocol.TProtocol iprot)
throws com.facebook.thrift.TException
- Specified by:
read
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
write
public void write(com.facebook.thrift.protocol.TProtocol oprot)
throws com.facebook.thrift.TException
- Specified by:
write
in interface com.facebook.thrift.TBase
- Throws:
com.facebook.thrift.TException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2008 The Apache Software Foundation