Package 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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getBuffer
(boolean direct, int length) void
putBuffer
(ByteBuffer buffer)
-
Constructor Details
-
ByteBufferAllocatorPool
public ByteBufferAllocatorPool()
-
-
Method Details
-
clear
public void clear() -
getBuffer
- Specified by:
getBuffer
in interfaceHadoopShims.ByteBufferPoolShim
-
putBuffer
- Specified by:
putBuffer
in interfaceHadoopShims.ByteBufferPoolShim
-