Class FloatOutputStream
java.lang.Object
io.trino.orc.stream.FloatOutputStream
- All Implemented Interfaces:
ValueOutputStream<FloatStreamCheckpoint>
-
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()voidwriteFloat(float value)
-
Constructor Details
-
FloatOutputStream
-
-
Method Details
-
writeFloat
public void writeFloat(float value) -
close
public void close()- Specified by:
closein interfaceValueOutputStream<FloatStreamCheckpoint>
-
recordCheckpoint
public void recordCheckpoint()- Specified by:
recordCheckpointin interfaceValueOutputStream<FloatStreamCheckpoint>
-
getCheckpoints
- Specified by:
getCheckpointsin interfaceValueOutputStream<FloatStreamCheckpoint>
-
getStreamDataOutput
- Specified by:
getStreamDataOutputin interfaceValueOutputStream<FloatStreamCheckpoint>
-
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<FloatStreamCheckpoint>
-
getRetainedBytes
public long getRetainedBytes()- Specified by:
getRetainedBytesin interfaceValueOutputStream<FloatStreamCheckpoint>
-
reset
public void reset()- Specified by:
resetin interfaceValueOutputStream<FloatStreamCheckpoint>
-