public class LongOutputStreamDwrf extends Object implements LongOutputStream
Constructor and Description |
---|
LongOutputStreamDwrf(CompressionKind compression,
int bufferSize,
boolean signed,
Stream.StreamKind streamKind) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
getBufferedBytes()
This method returns the size of the flushed data plus any unflushed data.
|
List<LongStreamCheckpoint> |
getCheckpoints() |
long |
getRetainedBytes() |
StreamDataOutput |
getStreamDataOutput(int column) |
void |
recordCheckpoint() |
void |
reset() |
void |
writeLong(long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createLengthOutputStream
public LongOutputStreamDwrf(CompressionKind compression, int bufferSize, boolean signed, Stream.StreamKind streamKind)
public void writeLong(long value)
writeLong
in interface LongOutputStream
public void recordCheckpoint()
recordCheckpoint
in interface ValueOutputStream<LongStreamCheckpoint>
public void close()
close
in interface ValueOutputStream<LongStreamCheckpoint>
public List<LongStreamCheckpoint> getCheckpoints()
getCheckpoints
in interface ValueOutputStream<LongStreamCheckpoint>
public StreamDataOutput getStreamDataOutput(int column)
getStreamDataOutput
in interface ValueOutputStream<LongStreamCheckpoint>
public long getBufferedBytes()
ValueOutputStream
getBufferedBytes
in interface ValueOutputStream<LongStreamCheckpoint>
public long getRetainedBytes()
getRetainedBytes
in interface ValueOutputStream<LongStreamCheckpoint>
public void reset()
reset
in interface ValueOutputStream<LongStreamCheckpoint>
Copyright © 2012–2020. All rights reserved.