Package | Description |
---|---|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile |
Provides the hbase data+index+metadata file.
|
org.apache.hadoop.hbase.util |
Modifier and Type | Method and Description |
---|---|
BlockType |
HFileBlockDefaultEncodingContext.getBlockType() |
BlockType |
HFileBlockEncodingContext.getBlockType() |
Modifier and Type | Method and Description |
---|---|
protected void |
HFileBlockDefaultEncodingContext.compressAfterEncoding(byte[] uncompressedBytesWithHeader,
BlockType blockType,
byte[] headerBytes) |
void |
HFileBlockDefaultEncodingContext.compressAfterEncodingWithBlockType(byte[] uncompressedBytesWithHeader,
BlockType blockType) |
void |
HFileBlockDefaultEncodingContext.postEncoding(BlockType blockType) |
void |
HFileBlockEncodingContext.postEncoding(BlockType blockType)
Do any action that needs to be performed after the encoding.
|
Modifier and Type | Method and Description |
---|---|
BlockType |
Cacheable.getBlockType() |
BlockType |
HFileBlock.getBlockType() |
BlockType |
HFileBlock.BlockWritable.getBlockType()
The type of block this data should use.
|
BlockType |
CachedBlock.getBlockType() |
BlockType |
HFileBlockIndex.BlockIndexWriter.getInlineBlockType() |
BlockType |
InlineBlockWriter.getInlineBlockType()
The type of blocks this block writer produces.
|
static BlockType |
BlockType.parse(byte[] buf,
int offset,
int length) |
static BlockType |
BlockType.read(ByteBuffer buf) |
static BlockType |
BlockType.read(DataInputStream in) |
static BlockType |
BlockType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockType[] |
BlockType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
NoOpDataBlockEncoder.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodeCtx,
BlockType blockType) |
void |
HFileDataBlockEncoderImpl.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodeCtx,
BlockType blockType)
Precondition: a non-encoded buffer.
|
void |
HFileDataBlockEncoder.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodingResult,
BlockType blockType)
Should be called before an encoded or unencoded data block is written to
disk.
|
void |
HFileBlock.expectType(BlockType expectedType) |
HFileBlock |
HFileBlock.BlockIterator.nextBlockWithBlockType(BlockType blockType)
Similar to
HFileBlock.BlockIterator.nextBlock() but checks block type, throws an
exception if incorrect, and returns the HFile block |
HFileBlock |
HFileReaderV2.readBlock(long dataBlockOffset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType)
Read in a file block.
|
HFileBlock |
HFile.CachingBlockReader.readBlock(long offset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType) |
DataOutputStream |
HFileBlock.Writer.startWriting(BlockType newBlockType)
Starts writing into the block.
|
Constructor and Description |
---|
BlockCacheKey(String file,
long offset,
DataBlockEncoding encoding,
BlockType blockType) |
Modifier and Type | Method and Description |
---|---|
BlockType |
CompoundBloomFilterWriter.getInlineBlockType() |
Copyright © 2014 The Apache Software Foundation. All rights reserved.