|Modifier and Type||Method and Description|
Creates a block iterator over the given portion of the
Reads the block at the given offset in the file with the given on-disk size and uncompressed size.
HFileBlock readBlockData(long offset, long onDiskSize, int uncompressedSize, boolean pread) throws IOException
onDiskSize- the on-disk size of the entire block, including all applicable headers, or -1 if unknown
uncompressedSize- the uncompressed size of the compressed part of the block, or -1 if unknown
HFileBlock.BlockIterator blockRange(long startOffset, long endOffset)
HFile. The iterator returns blocks starting with offset such that offset <= startOffset < endOffset.
startOffset- the offset of the block to start iteration with
endOffset- the offset to end iteration at (exclusive)
Copyright © 2015 The Apache Software Foundation. All rights reserved.