RecordReaderUtils.ByteBufferAllocatorPool (ORC Core 1.6.6 API)
Date: 2021-01-13

org.apache.orc.impl

## Class RecordReaderUtils.ByteBufferAllocatorPool

- java.lang.Object
- - org.apache.orc.impl.RecordReaderUtils.ByteBufferAllocatorPool

- All Implemented Interfaces:
    HadoopShims.ByteBufferPoolShim
  Enclosing class:
    RecordReaderUtils

      public static final class RecordReaderUtils.ByteBufferAllocatorPool
      extends Object
      implements HadoopShims.ByteBufferPoolShim

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ByteBufferAllocatorPool()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `clear()`
    `ByteBuffer` | `getBuffer(boolean direct, int length)`
    `void` | `putBuffer(ByteBuffer buffer)`

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

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

- - ### Constructor Detail

    - #### ByteBufferAllocatorPool

          public ByteBufferAllocatorPool()

  - ### Method Detail

    - #### clear

          public void clear()

    - #### getBuffer

          public ByteBuffer getBuffer(boolean direct,
                                      int length)

      Specified by:
        `getBuffer` in interface `HadoopShims.ByteBufferPoolShim`

    - #### putBuffer

          public void putBuffer(ByteBuffer buffer)

      Specified by:
        `putBuffer` in interface `HadoopShims.ByteBufferPoolShim`

Copyright © 2013–2021 The Apache Software Foundation. All rights reserved.