Package org.apache.orc.impl
Interface IntegerWriter
- All Known Implementing Classes:
RunLengthIntegerWriter,RunLengthIntegerWriterV2
public interface IntegerWriter
Interface for writing integers.
-
Method Summary
Modifier and TypeMethodDescriptionvoidlongEstimate the amount of memory being used.voidflush()Flush the buffervoidgetPosition(PositionRecorder recorder) Get position from the stream.voidwrite(long value) Write the integer value
-
Method Details
-
getPosition
Get position from the stream.- Parameters:
recorder-- Throws:
IOException
-
write
Write the integer value- Parameters:
value-- Throws:
IOException
-
flush
Flush the buffer- Throws:
IOException
-
estimateMemory
long estimateMemory()Estimate the amount of memory being used.- Returns:
- number of bytes
-
changeIv
-