Package org.apache.hadoop.hbase.io.encoding
package org.apache.hadoop.hbase.io.encoding
-
ClassDescriptionorg.apache.hadoop.hbase.io.encoding.AbstractDataBlockEncoderorg.apache.hadoop.hbase.io.encoding.AbstractDataBlockEncoder.AbstractEncodedSeekerDecorates EncodedSeeker with a
HFileBlockDecodingContext
org.apache.hadoop.hbase.io.encoding.CopyKeyDataBlockEncoderJust copy data, do not do any kind of compression.org.apache.hadoop.hbase.io.encoding.DataBlockEncoderEncoding of KeyValue.org.apache.hadoop.hbase.io.encoding.DataBlockEncoder.EncodedSeekerAn interface which enable to seek while underlying data is encoded.org.apache.hadoop.hbase.io.encoding.DataBlockEncodingProvide access to all data block encoding algorithms.org.apache.hadoop.hbase.io.encoding.DiffKeyDeltaEncoderCompress using: - store size of common prefix - save column family once, it is same within HFile - use integer compression for key, value and prefix (7-bit encoding) - use bits to avoid duplication key length, value length and type if it same as previous - store in 3 bits length of timestamp field - allow diff in timestamp instead of actual value Format: - 1 byte: flag - 1-5 bytes: key length (only if FLAG_SAME_KEY_LENGTH is not set in flag) - 1-5 bytes: value length (only if FLAG_SAME_VALUE_LENGTH is not set in flag) - 1-5 bytes: prefix length - ...org.apache.hadoop.hbase.io.encoding.DiffKeyDeltaEncoder.DiffCompressionStateorg.apache.hadoop.hbase.io.encoding.DiffKeyDeltaEncoder.DiffSeekerStateorg.apache.hadoop.hbase.io.encoding.EncodedDataBlockEncapsulates a data block compressed using a particular encoding algorithm.org.apache.hadoop.hbase.io.encoding.EncoderBufferTooSmallExceptionInternal error which indicates a bug in a data block encoding algorithm.org.apache.hadoop.hbase.io.encoding.EncodingStateKeeps track of the encoding state.org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoderEncoder similar toDiffKeyDeltaEncoder
but supposedly faster.org.apache.hadoop.hbase.io.encoding.FastDiffDeltaEncoder.FastDiffSeekerStateorg.apache.hadoop.hbase.io.encoding.HFileBlockDecodingContextA decoding context that is created by a reader's encoder, and is shared across all of the reader's read operations.org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultDecodingContextA default implementation ofHFileBlockDecodingContext
.org.apache.hadoop.hbase.io.encoding.HFileBlockDefaultEncodingContextA default implementation ofHFileBlockEncodingContext
.org.apache.hadoop.hbase.io.encoding.HFileBlockEncodingContextAn encoding context that is created by a writer's encoder, and is shared across the writer's whole lifetime.org.apache.hadoop.hbase.io.encoding.IndexBlockEncodingProvide access to all index block encoding algorithms.org.apache.hadoop.hbase.io.encoding.NoneEncoderorg.apache.hadoop.hbase.io.encoding.PrefixKeyDeltaEncoderCompress key by storing size of common prefix with previous KeyValue and storing raw size of rest.org.apache.hadoop.hbase.io.encoding.RowIndexCodecV1Store cells following every row's start offset, so we can binary search to a row's cells.org.apache.hadoop.hbase.io.encoding.RowIndexEncoderV1org.apache.hadoop.hbase.io.encoding.RowIndexSeekerV1