Package | Description |
---|---|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
HFileBlockDefaultEncodingContext.getDataBlockEncoding() |
DataBlockEncoding |
HFileBlockEncodingContext.getDataBlockEncoding()
Returns the
DataBlockEncoding encoding used |
static DataBlockEncoding |
DataBlockEncoding.getEncodingById(short dataBlockEncodingId) |
static DataBlockEncoding |
DataBlockEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataBlockEncoding[] |
DataBlockEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
HFileBlockEncodingContext |
AbstractDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] header,
HFileContext meta) |
HFileBlockEncodingContext |
DataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext meta)
Creates a encoder specific encoding context store configuration encoding strategy used header
bytes to be written, put a dummy header here if the header is unknown HFile meta data
|
Constructor and Description |
---|
EncodedDataBlock(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoder dataBlockEncoder,
DataBlockEncoding encoding,
byte[] rawKVs,
HFileContext meta)
Create a buffer which will be encoded using dataBlockEncoder.
|
HFileBlockDefaultEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext fileContext) |
Modifier and Type | Method and Description |
---|---|
DataBlockEncoding |
HFileContext.getDataBlockEncoding() |
Modifier and Type | Method and Description |
---|---|
HFileContextBuilder |
HFileContextBuilder.withDataBlockEncoding(DataBlockEncoding encoding) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.