|
||||||||||
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.
Field Summary | |
---|---|
static ImmutableBytesWritable |
completeCacheFlush
Value written to HLog on a complete cache flush |
static ImmutableBytesWritable |
deleteBytes
Value stored for a deleted item |
Constructor Summary | |
---|---|
HLogEdit()
Default constructor used by Writable |
|
HLogEdit(org.apache.hadoop.io.Text column,
byte[] bval,
long timestamp)
Construct a fully initialized HLogEdit |
Method Summary | |
---|---|
org.apache.hadoop.io.Text |
getColumn()
|
long |
getTimestamp()
|
byte[] |
getVal()
|
static boolean |
isDeleted(byte[] value)
|
void |
readFields(DataInput in)
|
String |
toString()
|
void |
write(DataOutput out)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static ImmutableBytesWritable deleteBytes
public static ImmutableBytesWritable completeCacheFlush
Constructor Detail |
---|
public HLogEdit()
public HLogEdit(org.apache.hadoop.io.Text column, byte[] bval, long timestamp)
column
- column namebval
- valuetimestamp
- timestamp for modificationMethod Detail |
---|
public static boolean isDeleted(byte[] value)
value
-
deleteBytes
.public org.apache.hadoop.io.Text getColumn()
public byte[] getVal()
public long getTimestamp()
public String toString()
toString
in class Object
public void write(DataOutput out) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput in) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |