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, waitget, getAll, getNextsize, unloadpublic IIndexReader.IOne2OneIndex writeTo(File indexFile) throws IOException
IOExceptionpublic IIndexReader.IOne2OneIndex writeTo(DataOutputStream out, long position) throws IOException
IOExceptionpublic void close()
throws IOException
IIndexReaderclose in interface IIndexReaderIOExceptionpublic void delete()
IIndexReaderdelete in interface IIndexReaderpublic 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()