org.apache.hadoop.hbase.io.hfile
Interface HFileBlock.BlockIterator

Enclosing class:
HFileBlock

public static interface HFileBlock.BlockIterator

An interface allowing to iterate HFileBlocks.


Method Summary
 HFileBlock nextBlock()
          Get the next block, or null if there are no more blocks to iterate.
 HFileBlock nextBlockWithBlockType(BlockType blockType)
          Similar to nextBlock() but checks block type, throws an exception if incorrect, and returns the HFile block
 

Method Detail

nextBlock

HFileBlock nextBlock()
                     throws IOException
Get the next block, or null if there are no more blocks to iterate.

Throws:
IOException

nextBlockWithBlockType

HFileBlock nextBlockWithBlockType(BlockType blockType)
                                  throws IOException
Similar to nextBlock() but checks block type, throws an exception if incorrect, and returns the HFile block

Throws:
IOException


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.