OutputBuffer (Apache Hadoop MapReduce NativeTask 3.5.0 API)
Description: declaration: package: org.apache.hadoop.mapred.nativetask.buffer, class: OutputBuffer

Package org.apache.hadoop.mapred.nativetask.buffer

# Class OutputBuffer

java.lang.Object
org.apache.hadoop.mapred.nativetask.buffer.OutputBuffer

@Private public class OutputBuffer extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected ByteBuffer`
  `byteBuffer`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `OutputBuffer(byte[] bytes)`
  `OutputBuffer(BufferType type, int outputBufferCapacity)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ByteBuffer`
  `getByteBuffer()`
  `BufferType`
  `getType()`
  `int`
  `length()`
  `int`
  `limit()`
  `void`
  `rewind()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### byteBuffer

    protected ByteBuffer byteBuffer

- ## Constructor Details

  - ### OutputBuffer

    public OutputBuffer(BufferType type, int outputBufferCapacity)

  - ### OutputBuffer

    public OutputBuffer(byte[] bytes)

- ## Method Details

  - ### getType

    public BufferType getType()

  - ### getByteBuffer

    public ByteBuffer getByteBuffer()

  - ### length

    public int length()

  - ### rewind

    public void rewind()

  - ### limit

    public int limit()