Package io.trino.orc.stream
Interface ValueOutputStream<C extends StreamCheckpoint>
-
- All Known Subinterfaces:
LongOutputStream
- All Known Implementing Classes:
BooleanOutputStream,ByteArrayOutputStream,ByteOutputStream,DecimalOutputStream,DoubleOutputStream,FloatOutputStream,LongOutputStreamV1,LongOutputStreamV2
public interface ValueOutputStream<C extends StreamCheckpoint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()longgetBufferedBytes()This method returns the size of the flushed data plus any unflushed data.List<C>getCheckpoints()longgetRetainedBytes()StreamDataOutputgetStreamDataOutput(OrcColumnId columnId)voidrecordCheckpoint()voidreset()
-
-
-
Method Detail
-
recordCheckpoint
void recordCheckpoint()
-
close
void close()
-
getStreamDataOutput
StreamDataOutput getStreamDataOutput(OrcColumnId columnId)
-
getBufferedBytes
long getBufferedBytes()
This method returns the size of the flushed data plus any unflushed data. If the output is compressed, flush data size is the size after compression.
-
getRetainedBytes
long getRetainedBytes()
-
reset
void reset()
-
-