Uses of Interface
org.apache.hadoop.hbase.io.encoding.DataBlockEncoder
Packages that use DataBlockEncoder
-
Uses of DataBlockEncoder in org.apache.hadoop.hbase.io.encoding
Classes in org.apache.hadoop.hbase.io.encoding that implement DataBlockEncoderModifier and TypeClassDescriptionclass(package private) classBase class for all data block encoders that use a buffer.classJust copy data, do not do any kind of compression.classCompress 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 - ...classEncoder similar toDiffKeyDeltaEncoderbut supposedly faster.classCompress key by storing size of common prefix with previous KeyValue and storing raw size of rest.classStore cells following every row's start offset, so we can binary search to a row's cells.Fields in org.apache.hadoop.hbase.io.encoding declared as DataBlockEncoderModifier and TypeFieldDescriptionprivate DataBlockEncoderEncodedDataBlock.dataBlockEncoderprivate DataBlockEncoderDataBlockEncoding.encoderMethods in org.apache.hadoop.hbase.io.encoding that return DataBlockEncoderModifier and TypeMethodDescription(package private) static DataBlockEncoderDataBlockEncoding.createEncoder(String fullyQualifiedClassName) static DataBlockEncoderDataBlockEncoding.getDataBlockEncoderById(short encoderId) Find and create data block encoder for given id;DataBlockEncoding.getEncoder()Return new data block encoder for given algorithm type.Methods in org.apache.hadoop.hbase.io.encoding with parameters of type DataBlockEncoderModifier and TypeMethodDescriptionstatic booleanDataBlockEncoding.isCorrectEncoder(DataBlockEncoder encoder, short encoderId) Check if given encoder has this id.Constructors in org.apache.hadoop.hbase.io.encoding with parameters of type DataBlockEncoderModifierConstructorDescriptionEncodedDataBlock(org.apache.hadoop.conf.Configuration conf, DataBlockEncoder dataBlockEncoder, DataBlockEncoding encoding, byte[] rawKVs, HFileContext meta) Create a buffer which will be encoded using dataBlockEncoder. -
Uses of DataBlockEncoder in org.apache.hadoop.hbase.io.hfile
Fields in org.apache.hadoop.hbase.io.hfile declared as DataBlockEncoderModifier and TypeFieldDescriptionprivate final DataBlockEncoderHFileReaderImpl.EncodedScanner.dataBlockEncoder