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

Packages that use BlockType
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.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 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 that return types with arguments of type BlockType
 Pair<ByteBuffer,BlockType> HFileDataBlockEncoder.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
          Should be called before an encoded or unencoded data block is written to disk.
 Pair<ByteBuffer,BlockType> HFileDataBlockEncoderImpl.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
          Precondition: a non-encoded buffer.
 Pair<ByteBuffer,BlockType> NoOpDataBlockEncoder.beforeWriteToDisk(ByteBuffer in, boolean includesMemstoreTS, byte[] dummyHeader)
           
 

Methods in org.apache.hadoop.hbase.io.hfile with parameters of type BlockType
 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, BlockType expectedBlockType)
           
 HFileBlock HFileReaderV2.readBlock(long dataBlockOffset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, BlockType expectedBlockType)
          Read in a file block.
 HFileBlock HFileReaderV1.readBlock(long offset, long onDiskBlockSize, boolean cacheBlock, boolean pread, boolean isCompaction, BlockType expectedBlockType)
           
 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 © 2012 The Apache Software Foundation. All Rights Reserved.