|
||||||||||
| 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)
|
void |
setCompressionContext(org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext)
Set compression context for this entry. |
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 key| Method Detail |
|---|
public WALEdit getEdit()
public HLogKey getKey()
public void setCompressionContext(org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext)
compressionContext - Compression contextpublic String toString()
toString in class Object
public void write(DataOutput dataOutput)
throws IOException
write in interface org.apache.hadoop.io.WritableIOException
public void readFields(DataInput dataInput)
throws IOException
readFields in interface org.apache.hadoop.io.WritableIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||