public class DocsFreqBlockIndexInput extends BlockIndexInput
BlockIndexInput
for the .doc file of the SIREn
postings format.Modifier and Type | Class and Description |
---|---|
class |
DocsFreqBlockIndexInput.DocsFreqBlockReader
Implementation of the
BlockReader for the .doc file. |
BlockIndexInput.BlockReader, BlockIndexInput.Index
Modifier and Type | Field and Description |
---|---|
protected BlockDecompressor |
docDecompressor |
protected BlockDecompressor |
freqDecompressor |
in, logger
Constructor and Description |
---|
DocsFreqBlockIndexInput(org.apache.lucene.store.IndexInput in,
BlockDecompressor docDecompressor,
BlockDecompressor freqDecompressor) |
Modifier and Type | Method and Description |
---|---|
DocsFreqBlockIndexInput.DocsFreqBlockReader |
getBlockReader()
Create a new
BlockIndexInput.BlockReader associated to the BlockIndexInput . |
close, index
protected BlockDecompressor docDecompressor
protected BlockDecompressor freqDecompressor
public DocsFreqBlockIndexInput(org.apache.lucene.store.IndexInput in, BlockDecompressor docDecompressor, BlockDecompressor freqDecompressor) throws IOException
IOException
public DocsFreqBlockIndexInput.DocsFreqBlockReader 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.