org.apache.lucene.util.packed
Class PackedInts.Writer
java.lang.Object
org.apache.lucene.util.packed.PackedInts.Writer
- Enclosing class:
- PackedInts
public abstract static class PackedInts.Writer
- extends Object
A write-once Writer.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
Method Summary |
abstract void |
add(long v)
|
abstract void |
finish()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected final DataOutput out
bitsPerValue
protected final int bitsPerValue
valueCount
protected final int valueCount
PackedInts.Writer
protected PackedInts.Writer(DataOutput out,
int valueCount,
int bitsPerValue)
throws IOException
- Throws:
IOException
add
public abstract void add(long v)
throws IOException
- Throws:
IOException
finish
public abstract void finish()
throws IOException
- Throws:
IOException