Class ByteBufferDataWriter

java.lang.Object
java.io.OutputStream
org.apache.hadoop.mapred.nativetask.buffer.DataOutputStream
org.apache.hadoop.mapred.nativetask.buffer.ByteBufferDataWriter
All Implemented Interfaces:
Closeable, DataOutput, Flushable, AutoCloseable

@Private public class ByteBufferDataWriter extends DataOutputStream
DataOutputStream implementation which buffers data in a fixed-size ByteBuffer. When the byte buffer has filled up, synchronously passes the buffer to a downstream NativeDataTarget.