Package org.apache.orc.impl
Class RunLengthByteWriter
java.lang.Object
org.apache.orc.impl.RunLengthByteWriter
A streamFactory that writes a sequence of bytes. A control byte is written before
each run with positive values 0 to 127 meaning 2 to 129 repetitions. If the
bytes is -1 to -128, 1 to 128 literal byte values follow.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
long
void
flush()
void
getPosition
(PositionRecorder recorder) void
write
(byte value)
-
Constructor Details
-
RunLengthByteWriter
-
-
Method Details
-
flush
- Throws:
IOException
-
write
- Throws:
IOException
-
getPosition
- Throws:
IOException
-
estimateMemory
public long estimateMemory() -
changeIv
-