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