public final class ContextAllocator extends AbstractAllocator
Constructor and Description |
---|
ContextAllocator(OpOrder.Group opGroup,
MemtableBufferAllocator allocator) |
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
allocate(int size) |
java.nio.ByteBuffer |
clone(java.nio.ByteBuffer buffer)
Allocate a slice of the given length.
|
cloningBTreeRowBuilder
public ContextAllocator(OpOrder.Group opGroup, MemtableBufferAllocator allocator)
public java.nio.ByteBuffer clone(java.nio.ByteBuffer buffer)
AbstractAllocator
clone
in class AbstractAllocator
public java.nio.ByteBuffer allocate(int size)
allocate
in class AbstractAllocator
Copyright © 2017 The Apache Software Foundation