Uses of Interface org.apache.hadoop.hive.common.io.encoded.MemoryBuffer (Hive Storage API 2.1.1-pre-orc API)
Date: 2016-10-19

## Uses of Interface
org.apache.hadoop.hive.common.io.encoded.MemoryBuffer

- Packages that use MemoryBuffer
  Package | Description
  --- | ---
  org.apache.hadoop.hive.common.io |
  org.apache.hadoop.hive.common.io.encoded |

- - ### Uses of MemoryBuffer in org.apache.hadoop.hive.common.io

    Methods in org.apache.hadoop.hive.common.io that return MemoryBuffer
    Modifier and Type | Method and Description
    --- | ---
    `MemoryBuffer` | Allocator.`createUnallocated()` Creates an unallocated memory buffer object.

    Methods in org.apache.hadoop.hive.common.io with parameters of type MemoryBuffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | Allocator.`allocateMultiple(MemoryBuffer[] dest, int size)` Allocates multiple buffers of a given size.
    `DiskRangeList` | DataCache.DiskRangeListFactory.`createCacheChunk(MemoryBuffer buffer, long startOffset, long endOffset)`
    `void` | Allocator.`deallocate(MemoryBuffer buffer)` Deallocates a memory buffer.
    `long[]` | DataCache.`putFileData(Object fileKey, DiskRange[] ranges, MemoryBuffer[] data, long baseOffset)` Puts file data into cache, or gets older data in case of collisions.
    `void` | DataCache.`releaseBuffer(MemoryBuffer buffer)` Releases the buffer returned by getFileData/provided to putFileData back to cache.
    `void` | DataCache.`reuseBuffer(MemoryBuffer buffer)` Notifies the cache that the buffer returned from getFileData/provided to putFileData will be used by another consumer and therefore released multiple times (one more time per call).

  - ### Uses of MemoryBuffer in org.apache.hadoop.hive.common.io.encoded

    Methods in org.apache.hadoop.hive.common.io.encoded that return types with arguments of type MemoryBuffer
    Modifier and Type | Method and Description
    --- | ---
    `List<MemoryBuffer>` | EncodedColumnBatch.ColumnStreamData.`getCacheBuffers()`

    Method parameters in org.apache.hadoop.hive.common.io.encoded with type arguments of type MemoryBuffer
    Modifier and Type | Method and Description
    --- | ---
    `void` | EncodedColumnBatch.ColumnStreamData.`setCacheBuffers(List<MemoryBuffer> cacheBuffers)`

Copyright © 2016 The Apache Software Foundation. All rights reserved.