Package it.unimi.di.big.mg4j.index
Class QuasiSuccinctIndexWriter.LongWordCache
- java.lang.Object
-
- it.unimi.di.big.mg4j.index.QuasiSuccinctIndexWriter.LongWordCache
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
- Enclosing class:
- QuasiSuccinctIndexWriter
protected static final class QuasiSuccinctIndexWriter.LongWordCache extends Object implements Closeable
-
-
Constructor Detail
-
LongWordCache
public LongWordCache(int cacheSize, String suffix) throws IOException
- Throws:
IOException
-
-
Method Detail
-
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 interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- 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
-
-