|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.wal.HLog.Entry
public static class HLog.Entry
Utility class that lets us keep track of the edit with it's key Only used when splitting logs
Constructor Summary | |
---|---|
HLog.Entry()
|
|
HLog.Entry(HLogKey key,
WALEdit edit)
Constructor for both params |
Method Summary | |
---|---|
WALEdit |
getEdit()
Gets the edit |
HLogKey |
getKey()
Gets the key |
void |
readFields(DataInput dataInput)
|
String |
toString()
|
void |
write(DataOutput dataOutput)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HLog.Entry()
public HLog.Entry(HLogKey key, WALEdit edit)
edit
- log's editkey
- log's keyMethod Detail |
---|
public WALEdit getEdit()
public HLogKey getKey()
public String toString()
toString
in class Object
public void write(DataOutput dataOutput) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void readFields(DataInput dataInput) 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 |