public class NodBlockIndexOutput extends BlockIndexOutput
BlockIndexOutput
for the .nod file of the SIREn
postings format.Modifier and Type | Class and Description |
---|---|
protected class |
NodBlockIndexOutput.NodBlockWriter
Implementation of the
BlockWriter for the .nod file. |
BlockIndexOutput.BlockWriter, BlockIndexOutput.Index
logger, out
Constructor and Description |
---|
NodBlockIndexOutput(org.apache.lucene.store.IndexOutput out,
int maxBlockSize,
BlockCompressor nodCompressor) |
Modifier and Type | Method and Description |
---|---|
NodBlockIndexOutput.NodBlockWriter |
getBlockWriter()
Create a new
BlockIndexOutput.BlockWriter associated to this
BlockIndexOutput . |
close, index
public NodBlockIndexOutput(org.apache.lucene.store.IndexOutput out, int maxBlockSize, BlockCompressor nodCompressor) throws IOException
IOException
public NodBlockIndexOutput.NodBlockWriter getBlockWriter()
BlockIndexOutput
BlockIndexOutput.BlockWriter
associated to this
BlockIndexOutput
.
You should ensure to flush all BlockIndexOutput.BlockWriter
before closing the
BlockIndexOutput
.
More than one BlockIndexOutput.BlockWriter
can be instantiated by a
BlockIndexOutput
. Usually one writer is instantiated for each term.
getBlockWriter
in class BlockIndexOutput
Copyright © 2014. All rights reserved.