public abstract static class PackedInts.Writer extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
bitsPerValue |
protected DataOutput |
out |
protected int |
valueCount |
| Modifier | Constructor and Description |
|---|---|
protected |
PackedInts.Writer(DataOutput out,
int valueCount,
int bitsPerValue) |
protected final DataOutput out
protected final int bitsPerValue
protected final int valueCount
protected PackedInts.Writer(DataOutput out, int valueCount, int bitsPerValue) throws IOException
IOExceptionpublic abstract void add(long v)
throws IOException
IOExceptionpublic abstract void finish()
throws IOException
IOExceptionCopyright © 2000-2015 Apache Software Foundation. All Rights Reserved.