Package | Description |
---|---|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Provides implementations of
HFile and HFile
BlockCache . |
Modifier and Type | Class and Description |
---|---|
class |
HFileBlockDefaultEncodingContext
A default implementation of
HFileBlockEncodingContext . |
Modifier and Type | Field and Description |
---|---|
private HFileBlockEncodingContext |
RowIndexEncoderV1.context |
private HFileBlockEncodingContext |
EncodedDataBlock.encodingCtx |
Modifier and Type | Method and Description |
---|---|
HFileBlockEncodingContext |
DataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] headerBytes,
HFileContext meta)
Creates a encoder specific encoding context n * store configuration n * encoding strategy used
n * header bytes to be written, put a dummy header here if the header is unknown n * HFile meta
data
|
HFileBlockEncodingContext |
AbstractDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
DataBlockEncoding encoding,
byte[] header,
HFileContext meta) |
Modifier and Type | Method and Description |
---|---|
void |
DataBlockEncoder.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out)
Encodes a KeyValue.
|
void |
RowIndexCodecV1.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out) |
void |
BufferedDataBlockEncoder.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out) |
void |
DataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader)
Ends encoding for a block of KeyValues.
|
void |
RowIndexCodecV1.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader) |
void |
BufferedDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader) |
protected void |
AbstractDataBlockEncoder.postEncoding(HFileBlockEncodingContext encodingCtx) |
void |
DataBlockEncoder.startBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out)
Starts encoding for a block of KeyValues.
|
void |
RowIndexCodecV1.startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
DataOutputStream out) |
void |
CopyKeyDataBlockEncoder.startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
DataOutputStream out) |
void |
BufferedDataBlockEncoder.startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
DataOutputStream out) |
Modifier and Type | Field and Description |
---|---|
private HFileBlockEncodingContext |
HFileBlock.Writer.dataBlockEncodingCtx |
Modifier and Type | Method and Description |
---|---|
HFileBlockEncodingContext |
NoOpDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] dummyHeader,
HFileContext meta) |
HFileBlockEncodingContext |
HFileDataBlockEncoder.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] headerBytes,
HFileContext fileContext)
Create an encoder specific encoding context object for writing.
|
HFileBlockEncodingContext |
HFileDataBlockEncoderImpl.newDataBlockEncodingContext(org.apache.hadoop.conf.Configuration conf,
byte[] dummyHeader,
HFileContext fileContext) |
Modifier and Type | Method and Description |
---|---|
void |
NoOpDataBlockEncoder.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out) |
void |
HFileDataBlockEncoder.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out)
Encodes a KeyValue.
|
void |
HFileDataBlockEncoderImpl.encode(Cell cell,
HFileBlockEncodingContext encodingCtx,
DataOutputStream out) |
void |
NoOpDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader,
BlockType blockType) |
void |
HFileDataBlockEncoder.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader,
BlockType blockType)
Ends encoding for a block of KeyValues.
|
void |
HFileDataBlockEncoderImpl.endBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out,
byte[] uncompressedBytesWithHeader,
BlockType blockType) |
void |
NoOpDataBlockEncoder.startBlockEncoding(HFileBlockEncodingContext blkEncodingCtx,
DataOutputStream out) |
void |
HFileDataBlockEncoder.startBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out)
Starts encoding for a block of KeyValues.
|
void |
HFileDataBlockEncoderImpl.startBlockEncoding(HFileBlockEncodingContext encodingCtx,
DataOutputStream out) |
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.