|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.util.packed.PackedDataOutput
public final class PackedDataOutput
A DataOutput
wrapper to write unaligned, variable-length packed
integers.
PackedDataInput
Constructor Summary | |
---|---|
PackedDataOutput(DataOutput out)
Create a new instance that wraps out . |
Method Summary | |
---|---|
void |
flush()
Flush pending bits to the underlying DataOutput . |
void |
writeLong(long value,
int bitsPerValue)
Write a value using exactly bitsPerValue bits. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PackedDataOutput(DataOutput out)
out
.
Method Detail |
---|
public void writeLong(long value, int bitsPerValue) throws IOException
bitsPerValue
bits.
IOException
public void flush() throws IOException
DataOutput
.
IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |