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
Modifier 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
-
Method Summary
Modifier and TypeMethodDescription(package private) void
copyFrom
(CompressionState state) private void
decompressFirstKV
(ByteBuffer out, DataInputStream in) Copies the first key/value from the given stream, and initializes decompression state based on it.protected void
Methods 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:
readTimestamp
in classCompressionState
-
copyFrom
- Overrides:
copyFrom
in 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
-