public static class IndexWriter.LongIndexStreamer extends Object
Constructor and Description |
---|
IndexWriter.LongIndexStreamer() |
IndexWriter.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 IndexWriter.LongIndexStreamer()
public IndexWriter.LongIndexStreamer(File indexFile) throws IOException
IOException
public void close() throws IOException
IOException
public IIndexReader.IOne2LongIndex writeTo(File indexFile, int size, HashMapIntObject<Object> pages, int pageSize) throws IOException
IOException
public IIndexReader.IOne2LongIndex writeTo(File indexFile, long[] array) throws IOException
IOException
public IIndexReader.IOne2LongIndex writeTo(File indexFile, IteratorLong iterator) throws IOException
IOException
public IIndexReader.IOne2LongIndex writeTo(File indexFile, ArrayLong array) throws IOException
IOException
public void addAll(IteratorLong iterator) throws IOException
IOException
public void addAll(ArrayLong array) throws IOException
IOException
public void add(long value) throws IOException
IOException
public void addAll(long[] values) throws IOException
IOException
public void addAll(long[] values, int offset, int length) throws IOException
IOException
public 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()