public abstract class FixedIntBlockIndexOutput extends IntIndexOutput
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
buffer |
protected IndexOutput |
out |
| Modifier | Constructor and Description |
|---|---|
protected |
FixedIntBlockIndexOutput(IndexOutput out,
int fixedBlockSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract void |
flushBlock() |
org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput.Index |
index()
If you are indexing the primary output file, call
this and interact with the returned IndexWriter.
|
void |
write(int v)
Write an int to the primary file.
|
protected final IndexOutput out
protected final int[] buffer
protected FixedIntBlockIndexOutput(IndexOutput out, int fixedBlockSize) throws IOException
IOExceptionprotected abstract void flushBlock()
throws IOException
IOExceptionpublic org.apache.lucene.codecs.intblock.FixedIntBlockIndexOutput.Index index()
throws IOException
IntIndexOutputindex in class IntIndexOutputIOExceptionpublic void write(int v)
throws IOException
IntIndexOutputwrite in class IntIndexOutputIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in class IntIndexOutputIOExceptionCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.