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 Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) byte[]Fields inherited from class org.apache.hadoop.hbase.io.encoding.CompressionState
familyLength, keyLength, prevOffset, qualifierLength, rowLength, type, valueLength -
Constructor Summary
Constructors -
Method Summary
Modifier 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.CompressionState
isFirst, readKey, readKey
-
Field Details
-
timestamp
byte[] timestamp -
prevTimestampOffset
-
-
Constructor Details
-
FastDiffCompressionState
private FastDiffCompressionState()
-
-
Method Details
-
readTimestamp
- Overrides:
readTimestampin classCompressionState
-
copyFrom
- Overrides:
copyFromin classCompressionState
-
decompressFirstKV
Copies 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
-