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()
IIndexReader
size
in interface IIndexReader
public long get(int index)
get
in interface IIndexReader.IOne2LongIndex
public int reverse(long val)
reverse
in interface IIndexReader.IOne2LongIndex
public IteratorLong iterator()
public long[] getNext(int index, int length)
getNext
in interface IIndexReader.IOne2LongIndex
public void close() throws IOException
IIndexReader
close
in interface IIndexReader
IOException
public void delete()
IIndexReader
delete
in interface IIndexReader
public void unload() throws IOException
IIndexReader
unload
in interface IIndexReader
IOException