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 |
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, readKeybyte[] timestamp
int prevTimestampOffset
private FastDiffCompressionState()
protected void readTimestamp(ByteBuffer in)
readTimestamp in class CompressionStatevoid copyFrom(CompressionState state)
copyFrom in class CompressionStateprivate void decompressFirstKV(ByteBuffer out, DataInputStream in) throws IOException
CompressionState.qualifierLength (not used by
decompression) or CompressionState.prevOffset (set by the calle afterwards).IOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.