public class PosBlockIndexInput extends BlockIndexInput
BlockIndexInput
for the .pos file of the SIREn
postings format.Modifier and Type | Class and Description |
---|---|
protected class |
PosBlockIndexInput.PosBlockReader
Implementation of the
BlockReader for the .pos file. |
BlockIndexInput.BlockReader, BlockIndexInput.Index
Modifier and Type | Field and Description |
---|---|
protected BlockDecompressor |
posDecompressor |
in, logger
Constructor and Description |
---|
PosBlockIndexInput(org.apache.lucene.store.IndexInput in,
BlockDecompressor posDecompressor) |
Modifier and Type | Method and Description |
---|---|
PosBlockIndexInput.PosBlockReader |
getBlockReader()
Create a new
BlockIndexInput.BlockReader associated to the BlockIndexInput . |
close, index
protected BlockDecompressor posDecompressor
public PosBlockIndexInput(org.apache.lucene.store.IndexInput in, BlockDecompressor posDecompressor) throws IOException
IOException
public PosBlockIndexInput.PosBlockReader getBlockReader()
BlockIndexInput
BlockIndexInput.BlockReader
associated to the BlockIndexInput
.
Subclasses must create a clone of the BlockIndexInput.in
to ensure
safe concurrent file access.
getBlockReader
in class BlockIndexInput
Copyright © 2014. All rights reserved.