org.apache.hadoop.hbase
Class HLogEdit
java.lang.Object
org.apache.hadoop.hbase.HLogEdit
- All Implemented Interfaces:
- Writable
public class HLogEdit
- extends Object
- implements Writable
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.
HLogEdit
public HLogEdit()
HLogEdit
public HLogEdit(Text column,
byte[] bval,
long timestamp)
getColumn
public Text getColumn()
getVal
public byte[] getVal()
getTimestamp
public long getTimestamp()
toString
public String toString()
- Overrides:
toString
in class Object
write
public void write(DataOutput out)
throws IOException
- Description copied from interface:
Writable
- Writes the fields of this object to
out
.
- Specified by:
write
in interface Writable
- Throws:
IOException
readFields
public void readFields(DataInput in)
throws IOException
- Description copied from interface:
Writable
- Reads the fields of this object from
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields
in interface Writable
- Throws:
IOException
Copyright © 2006 The Apache Software Foundation