Uses of Class
org.apache.hadoop.hbase.io.hfile.BlockType

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 HFileBlockEncodingContext.getBlockType()
           
 BlockType HFileBlockDefaultEncodingContext.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 HFileBlockEncodingContext.postEncoding(BlockType blockType)
          Do any action that needs to be performed after the encoding.
 void HFileBlockDefaultEncodingContext.postEncoding(BlockType blockType)
           
 

Uses of BlockType in org.apache.hadoop.hbase.io.hfile
 

Methods in org.apache.hadoop.hbase.io.hfile that return BlockType
 BlockType HFileBlock.getBlockType()
           
 BlockType HFileBlock.BlockWritable.getBlockType()
          The type of block this data should use.
 BlockType Cacheable.getBlockType()
           
 BlockType CachedBlock.getBlockType()
           
 BlockType BlockCacheKey.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.
 

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 HFileDataBlockEncoderImpl.beforeWriteToDisk(ByteBuffer in, HFileBlockEncodingContext encodeCtx, BlockType blockType)
          Precondition: a non-encoded buffer.
 void NoOpDataBlockEncoder.beforeWriteToDisk(ByteBuffer in, HFileBlockEncodingContext encodeCtx, BlockType blockType)
           
 void HFileBlock.expectType(BlockType expectedType)
           
 void CacheStats.hit(boolean caching, BlockType type)
           
 void CacheStats.miss(boolean caching, BlockType type)
           
 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()
           
 



Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.