protected class PosBlockIndexInput.PosBlockReader extends BlockIndexInput.BlockReader
BlockReader
for the .pos file.
Read and decode blocks containing the the term positions.
in
Modifier and Type | Method and Description |
---|---|
protected void |
initBlock()
Init reader for new block
|
boolean |
isExhausted() |
int |
nextPosition()
Decode and return the next position of the current block.
|
protected void |
readHeader()
Read and decode block header
|
void |
resetCurrentPosition() |
protected void |
skipData()
Skip remaining data in the block and advance input stream pointer.
|
getMinimumBufferSize, init, nextBlock, seek
protected void readHeader() throws IOException
BlockIndexInput.BlockReader
readHeader
in class BlockIndexInput.BlockReader
IOException
protected void skipData() throws IOException
BlockIndexInput.BlockReader
skipData
in class BlockIndexInput.BlockReader
IOException
public int nextPosition() throws IOException
IOException
public boolean isExhausted()
isExhausted
in class BlockIndexInput.BlockReader
protected void initBlock()
BlockIndexInput.BlockReader
initBlock
in class BlockIndexInput.BlockReader
public void resetCurrentPosition()
Copyright © 2014. All rights reserved.