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