Constructor and Description |
---|
HLog.Entry() |
HLog.Entry(HLogKey key,
WALEdit edit)
Constructor for both params
|
Modifier and Type | Method and Description |
---|---|
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) |
public WALEdit getEdit()
public HLogKey getKey()
public void setCompressionContext(org.apache.hadoop.hbase.regionserver.wal.CompressionContext compressionContext)
compressionContext
- Compression contextpublic 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
Copyright © 2014 The Apache Software Foundation. All rights reserved.