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() |
IntIndexOutput.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
IOException
protected abstract void flushBlock() throws IOException
IOException
public IntIndexOutput.Index index() throws IOException
IntIndexOutput
index
in class IntIndexOutput
IOException
public void write(int v) throws IOException
IntIndexOutput
write
in class IntIndexOutput
IOException
public void close() throws IOException
close
in interface Closeable
close
in class IntIndexOutput
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.