private static class FastDiffDeltaEncoder.FastDiffCompressionState extends CompressionState
Modifier and Type | Field and Description |
---|---|
(package private) int |
prevTimestampOffset |
(package private) byte[] |
timestamp |
familyLength, keyLength, prevOffset, qualifierLength, rowLength, type, valueLength
Modifier | Constructor and Description |
---|---|
private |
FastDiffDeltaEncoder.FastDiffCompressionState() |
Modifier and Type | Method and Description |
---|---|
(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 |
readTimestamp(ByteBuffer in) |
isFirst, readKey, readKey
private FastDiffDeltaEncoder.FastDiffCompressionState()
protected void readTimestamp(ByteBuffer in)
readTimestamp
in class CompressionState
void copyFrom(CompressionState state)
copyFrom
in class CompressionState
private void decompressFirstKV(ByteBuffer out, DataInputStream in) throws IOException
CompressionState.qualifierLength
(not used by
decompression) or CompressionState.prevOffset
(set by the calle afterwards).IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.