Class FastDiffDeltaEncoder.FastDiffCompressionState
java.lang.Object
org.apache.hadoop.hbase.io.encoding.CompressionState
org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoder.FastDiffCompressionState
- Enclosing class:
- FastDiffDeltaEncoder
- 
Field SummaryFieldsModifier and TypeFieldDescription(package private) int(package private) byte[]Fields inherited from class org.apache.hadoop.hbase.io.encoding.CompressionStatefamilyLength, keyLength, prevOffset, qualifierLength, rowLength, type, valueLength
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription(package private) voidcopyFrom(CompressionState state) private voiddecompressFirstKV(ByteBuffer out, DataInputStream in) Copies the first key/value from the given stream, and initializes decompression state based on it.protected voidMethods inherited from class org.apache.hadoop.hbase.io.encoding.CompressionStateisFirst, readKey, readKey
- 
Field Details- 
timestampbyte[] timestamp
- 
prevTimestampOffset
 
- 
- 
Constructor Details- 
FastDiffCompressionStateprivate FastDiffCompressionState()
 
- 
- 
Method Details- 
readTimestamp- Overrides:
- readTimestampin class- CompressionState
 
- 
copyFrom- Overrides:
- copyFromin class- CompressionState
 
- 
decompressFirstKVCopies the first key/value from the given stream, and initializes decompression state based on it. Assumes that we have already read key and value lengths. Does not setCompressionState.qualifierLength(not used by decompression) orCompressionState.prevOffset(set by the calle afterwards).- Throws:
- IOException
 
 
-