public static final class RecordReaderUtils.ByteBufferAllocatorPool extends Object implements org.apache.orc.impl.HadoopShims.ByteBufferPoolShim
Constructor and Description |
---|
ByteBufferAllocatorPool() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
ByteBuffer |
getBuffer(boolean direct,
int length) |
void |
putBuffer(ByteBuffer buffer) |
public void clear()
public ByteBuffer getBuffer(boolean direct, int length)
getBuffer
in interface org.apache.orc.impl.HadoopShims.ByteBufferPoolShim
public void putBuffer(ByteBuffer buffer)
putBuffer
in interface org.apache.orc.impl.HadoopShims.ByteBufferPoolShim
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.