public static interface HFileBlock.BlockIterator
HFileBlock
s.Modifier and Type | Method and Description |
---|---|
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 |
HFileBlock nextBlock() throws IOException
IOException
HFileBlock nextBlockWithBlockType(BlockType blockType) throws IOException
nextBlock()
but checks block type, throws an
exception if incorrect, and returns the HFile blockIOException
Copyright © 2007-2016 The Apache Software Foundation. All Rights Reserved.