|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.hbase.HLogEdit
public class HLogEdit
A log value. These aren't sortable; you need to sort by the matching HLogKey. The table and row are already identified in HLogKey. This just indicates the column and value.
| Constructor Summary | |
|---|---|
HLogEdit()
Default constructor used by Writable |
|
HLogEdit(Text column,
byte[] bval,
long timestamp)
Construct a fully initialized HLogEdit |
|
| Method Summary | |
|---|---|
Text |
getColumn()
|
long |
getTimestamp()
|
byte[] |
getVal()
|
void |
readFields(DataInput in)
Deserialize the fields of this object from in. |
String |
toString()
|
void |
write(DataOutput out)
Serialize the fields of this object to out. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HLogEdit()
public HLogEdit(Text column,
byte[] bval,
long timestamp)
column - column namebval - valuetimestamp - timestamp for modification| Method Detail |
|---|
public Text getColumn()
public byte[] getVal()
public long getTimestamp()
public String toString()
toString in class Object
public void write(DataOutput out)
throws IOException
out.
write in interface Writableout - DataOuput to serialize this object into.
IOException
public void readFields(DataInput in)
throws IOException
in.
For efficiency, implementations should attempt to re-use storage in the existing object where possible.
readFields in interface Writablein - DataInput to deseriablize this object from.
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||