public class RunLengthIntegerWriter extends Object implements IntegerWriter
Constructor and Description |
---|
RunLengthIntegerWriter(PositionedOutputStream output,
boolean signed) |
Modifier and Type | Method and Description |
---|---|
void |
flush()
Flush the buffer
|
void |
getPosition(PositionRecorder recorder)
Get position from the stream.
|
void |
write(long value)
Write the integer value
|
public RunLengthIntegerWriter(PositionedOutputStream output, boolean signed)
public void flush() throws IOException
IntegerWriter
flush
in interface IntegerWriter
IOException
public void write(long value) throws IOException
IntegerWriter
write
in interface IntegerWriter
IOException
public void getPosition(PositionRecorder recorder) throws IOException
IntegerWriter
getPosition
in interface IntegerWriter
IOException
Copyright © 2016 The Apache Software Foundation. All rights reserved.