| Package | Description | 
|---|---|
| org.apache.hadoop.hive.common.io | |
| org.apache.hadoop.hive.common.io.encoded | 
| Modifier and Type | Method and Description | 
|---|---|
| MemoryBuffer | Allocator. createUnallocated()Creates an unallocated memory buffer object. | 
| 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). | 
| Modifier and Type | Method and Description | 
|---|---|
| List<MemoryBuffer> | EncodedColumnBatch.ColumnStreamData. getCacheBuffers() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EncodedColumnBatch.ColumnStreamData. setCacheBuffers(List<MemoryBuffer> cacheBuffers) | 
Copyright © 2016 The Apache Software Foundation. All rights reserved.