it.unimi.di.mg4j.index
Class QuasiSuccinctIndexWriter.LongWordCache
java.lang.Object
it.unimi.di.mg4j.index.QuasiSuccinctIndexWriter.LongWordCache
- All Implemented Interfaces:
- Closeable
- Enclosing class:
- QuasiSuccinctIndexWriter
protected static final class QuasiSuccinctIndexWriter.LongWordCache
- extends Object
- implements Closeable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuasiSuccinctIndexWriter.LongWordCache
public QuasiSuccinctIndexWriter.LongWordCache(int cacheSize,
String suffix)
throws IOException
- Throws:
IOException
append
public int append(long value,
int width)
throws IOException
- Throws:
IOException
clear
public void clear()
close
public void close()
throws IOException
- Specified by:
close
in interface Closeable
- Throws:
IOException
length
public long length()
writeUnary
public void writeUnary(int l)
throws IOException
- Throws:
IOException
readLong
public long readLong()
throws IOException
- Throws:
IOException
rewind
public void rewind()
throws IOException
- Throws:
IOException