Class RunLengthIntegerWriter

java.lang.Object
org.apache.orc.impl.RunLengthIntegerWriter
All Implemented Interfaces:
IntegerWriter

public class RunLengthIntegerWriter extends Object implements IntegerWriter
A streamFactory that writes a sequence of integers. A control byte is written before each run with positive values 0 to 127 meaning 3 to 130 repetitions, each repetition is offset by a delta. If the control byte is -1 to -128, 1 to 128 literal vint values follow.