Class DoubleOutputStream
java.lang.Object
io.trino.orc.stream.DoubleOutputStream
- All Implemented Interfaces:
ValueOutputStream<DoubleStreamCheckpoint>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()longThis method returns the size of the flushed data plus any unflushed data.longgetStreamDataOutput(OrcColumnId columnId) voidvoidreset()voidwriteDouble(double value)
-
Constructor Details
-
DoubleOutputStream
-
-
Method Details
-
writeDouble
public void writeDouble(double value) -
close
public void close()- Specified by:
closein interfaceValueOutputStream<DoubleStreamCheckpoint>
-
recordCheckpoint
public void recordCheckpoint()- Specified by:
recordCheckpointin interfaceValueOutputStream<DoubleStreamCheckpoint>
-
getCheckpoints
- Specified by:
getCheckpointsin interfaceValueOutputStream<DoubleStreamCheckpoint>
-
getStreamDataOutput
- Specified by:
getStreamDataOutputin interfaceValueOutputStream<DoubleStreamCheckpoint>
-
getBufferedBytes
public long getBufferedBytes()Description copied from interface:ValueOutputStreamThis 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.- Specified by:
getBufferedBytesin interfaceValueOutputStream<DoubleStreamCheckpoint>
-
getRetainedBytes
public long getRetainedBytes()- Specified by:
getRetainedBytesin interfaceValueOutputStream<DoubleStreamCheckpoint>
-
reset
public void reset()- Specified by:
resetin interfaceValueOutputStream<DoubleStreamCheckpoint>
-