public class DoubleOutputStream extends Object implements ValueOutputStream<DoubleStreamCheckpoint>
Constructor and Description |
---|
DoubleOutputStream(CompressionKind compression,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getBufferedBytes()
This method returns the size of the flushed data plus any unflushed data.
|
List<DoubleStreamCheckpoint> |
getCheckpoints() |
long |
getRetainedBytes() |
StreamDataOutput |
getStreamDataOutput(int column) |
void |
recordCheckpoint() |
void |
reset() |
void |
writeDouble(double value) |
public DoubleOutputStream(CompressionKind compression, int bufferSize)
public void writeDouble(double value)
public void close()
close
in interface ValueOutputStream<DoubleStreamCheckpoint>
public void recordCheckpoint()
recordCheckpoint
in interface ValueOutputStream<DoubleStreamCheckpoint>
public List<DoubleStreamCheckpoint> getCheckpoints()
getCheckpoints
in interface ValueOutputStream<DoubleStreamCheckpoint>
public StreamDataOutput getStreamDataOutput(int column)
getStreamDataOutput
in interface ValueOutputStream<DoubleStreamCheckpoint>
public long getBufferedBytes()
ValueOutputStream
getBufferedBytes
in interface ValueOutputStream<DoubleStreamCheckpoint>
public long getRetainedBytes()
getRetainedBytes
in interface ValueOutputStream<DoubleStreamCheckpoint>
public void reset()
reset
in interface ValueOutputStream<DoubleStreamCheckpoint>
Copyright © 2012–2020. All rights reserved.