public static class IndexWriter.Identifier extends Object implements IIndexReader.IOne2LongIndex
IIndexReader.IOne2LongIndex, IIndexReader.IOne2ManyIndex, IIndexReader.IOne2ManyObjectsIndex, IIndexReader.IOne2OneIndex, IIndexReader.IOne2SizeIndex| Constructor and Description |
|---|
Identifier() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long id) |
void |
close()
Close the backing file.
|
void |
delete()
Delete the backing file.
|
long |
get(int index) |
long[] |
getNext(int index,
int length) |
IteratorLong |
iterator() |
int |
reverse(long val) |
int |
size()
Size of the index
|
void |
sort() |
void |
unload()
Clear the caches.
|
public void add(long id)
public void sort()
public int size()
IIndexReadersize in interface IIndexReaderpublic long get(int index)
get in interface IIndexReader.IOne2LongIndexpublic int reverse(long val)
reverse in interface IIndexReader.IOne2LongIndexpublic IteratorLong iterator()
public long[] getNext(int index,
int length)
getNext in interface IIndexReader.IOne2LongIndexpublic void close()
throws IOException
IIndexReaderclose in interface IIndexReaderIOExceptionpublic void delete()
IIndexReaderdelete in interface IIndexReaderpublic void unload()
throws IOException
IIndexReaderunload in interface IIndexReaderIOException