|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use BlockType | |
---|---|
org.apache.hadoop.hbase.io.encoding | |
org.apache.hadoop.hbase.io.hfile | Provides the hbase data+index+metadata file. |
org.apache.hadoop.hbase.util |
Uses of BlockType in org.apache.hadoop.hbase.io.encoding |
---|
Methods in org.apache.hadoop.hbase.io.encoding that return BlockType | |
---|---|
BlockType |
HFileBlockDefaultEncodingContext.getBlockType()
|
BlockType |
HFileBlockEncodingContext.getBlockType()
|
Methods in org.apache.hadoop.hbase.io.encoding with parameters of type BlockType | |
---|---|
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. |
Uses of BlockType in org.apache.hadoop.hbase.io.hfile |
---|
Methods in org.apache.hadoop.hbase.io.hfile that return BlockType | |
---|---|
BlockType |
Cacheable.getBlockType()
|
BlockType |
HFileBlock.getBlockType()
|
BlockType |
HFileBlock.BlockWritable.getBlockType()
The type of block this data should use. |
BlockType |
CachedBlock.getBlockType()
|
BlockType |
InlineBlockWriter.getInlineBlockType()
The type of blocks this block writer produces. |
BlockType |
HFileBlockIndex.BlockIndexWriter.getInlineBlockType()
|
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. |
Methods in org.apache.hadoop.hbase.io.hfile with parameters of type BlockType | |
---|---|
void |
HFileDataBlockEncoder.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodingResult,
BlockType blockType)
Should be called before an encoded or unencoded data block is written to disk. |
void |
NoOpDataBlockEncoder.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodeCtx,
BlockType blockType)
|
void |
HFileDataBlockEncoderImpl.beforeWriteToDisk(ByteBuffer in,
HFileBlockEncodingContext encodeCtx,
BlockType blockType)
Precondition: a non-encoded buffer. |
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 |
HFile.CachingBlockReader.readBlock(long offset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType)
|
HFileBlock |
HFileReaderV2.readBlock(long dataBlockOffset,
long onDiskBlockSize,
boolean cacheBlock,
boolean pread,
boolean isCompaction,
boolean updateCacheMetrics,
BlockType expectedBlockType)
Read in a file block. |
boolean |
CacheConfig.shouldLockOnCacheMiss(BlockType blockType)
If we make sure the block could not be cached, we will not acquire the lock otherwise we will acquire lock |
boolean |
CacheConfig.shouldReadBlockFromCache(BlockType blockType)
Return true if we may find this type of block in block cache. |
DataOutputStream |
HFileBlock.Writer.startWriting(BlockType newBlockType)
Starts writing into the block. |
Constructors in org.apache.hadoop.hbase.io.hfile with parameters of type BlockType | |
---|---|
BlockCacheKey(String file,
long offset,
DataBlockEncoding encoding,
BlockType blockType)
|
Uses of BlockType in org.apache.hadoop.hbase.util |
---|
Methods in org.apache.hadoop.hbase.util that return BlockType | |
---|---|
BlockType |
CompoundBloomFilterWriter.getInlineBlockType()
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |