public static class IndexWriter.IntIndexCollector extends Object implements IIndexReader.IOne2OneIndex
IIndexReader.IOne2LongIndex, IIndexReader.IOne2ManyIndex, IIndexReader.IOne2ManyObjectsIndex, IIndexReader.IOne2OneIndex, IIndexReader.IOne2SizeIndex
Constructor and Description |
---|
IntIndexCollector(int size,
int mostSignificantBit) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the backing file.
|
void |
delete()
Delete the backing file.
|
int |
get(int index) |
int[] |
getAll(int[] index) |
int[] |
getNext(int index,
int length) |
IteratorInt |
iterator() |
void |
set(int index,
int value) |
int |
size() |
void |
unload() |
IIndexReader.IOne2OneIndex |
writeTo(DataOutputStream out,
long position) |
IIndexReader.IOne2OneIndex |
writeTo(File indexFile) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get, getAll, getNext
size, unload
public IIndexReader.IOne2OneIndex writeTo(File indexFile) throws IOException
IOException
public IIndexReader.IOne2OneIndex writeTo(DataOutputStream out, long position) throws IOException
IOException
public void close() throws IOException
IIndexReader
close
in interface IIndexReader
IOException
public void delete()
IIndexReader
delete
in interface IIndexReader
public int get(int index)
public int[] getNext(int index, int length)
public int[] getAll(int[] index)
public void set(int index, int value)
public void unload()
public int size()
public IteratorInt iterator()