Class InputBuffer

java.lang.Object
org.apache.hadoop.mapred.nativetask.buffer.InputBuffer
All Implemented Interfaces:
Closeable, AutoCloseable

@Private public class InputBuffer extends Object implements Closeable
  • Constructor Details

  • Method Details

    • getType

      public BufferType getType()
    • getByteBuffer

      public ByteBuffer getByteBuffer()
    • length

      public int length()
    • rewind

      public void rewind(int startOffset, int length)
    • remaining

      public int remaining()
    • position

      public int position()
    • position

      public int position(int pos)
    • capacity

      public int capacity()
    • array

      public byte[] array()
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable