public static class IndexWriter.LongIndexStreamer extends Object
| Constructor and Description |
|---|
LongIndexStreamer() |
LongIndexStreamer(File indexFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(long value) |
void |
addAll(ArrayLong array) |
void |
addAll(IteratorLong iterator) |
void |
addAll(long[] values) |
void |
addAll(long[] values,
int offset,
int length) |
void |
close() |
long |
get(int index) |
long[] |
getNext(int index,
int length) |
IteratorLong |
iterator() |
int |
reverse(long value) |
void |
set(int index,
long value) |
int |
size() |
void |
unload() |
IIndexReader.IOne2LongIndex |
writeTo(File indexFile,
ArrayLong array) |
IIndexReader.IOne2LongIndex |
writeTo(File indexFile,
int size,
HashMapIntObject<Object> pages,
int pageSize) |
IIndexReader.IOne2LongIndex |
writeTo(File indexFile,
IteratorLong iterator) |
IIndexReader.IOne2LongIndex |
writeTo(File indexFile,
long[] array) |
public LongIndexStreamer()
public LongIndexStreamer(File indexFile) throws IOException
IOExceptionpublic void close()
throws IOException
IOExceptionpublic IIndexReader.IOne2LongIndex writeTo(File indexFile, int size, HashMapIntObject<Object> pages, int pageSize) throws IOException
IOExceptionpublic IIndexReader.IOne2LongIndex writeTo(File indexFile, long[] array) throws IOException
IOExceptionpublic IIndexReader.IOne2LongIndex writeTo(File indexFile, IteratorLong iterator) throws IOException
IOExceptionpublic IIndexReader.IOne2LongIndex writeTo(File indexFile, ArrayLong array) throws IOException
IOExceptionpublic void addAll(IteratorLong iterator) throws IOException
IOExceptionpublic void addAll(ArrayLong array) throws IOException
IOExceptionpublic void add(long value)
throws IOException
IOExceptionpublic void addAll(long[] values)
throws IOException
IOExceptionpublic void addAll(long[] values,
int offset,
int length)
throws IOException
IOExceptionpublic long get(int index)
public long[] getNext(int index,
int length)
public int reverse(long value)
public void set(int index,
long value)
public void unload()
public int size()
public IteratorLong iterator()