| Package | Description |
|---|---|
| io.netty.buffer | |
| org.apache.arrow.memory |
Memory Allocation, Account and Management
See the README.md file in this directory for detailed information about Arrow's memory
allocation subsystem.
|
| Modifier and Type | Field and Description |
|---|---|
ArrowBuf |
ArrowBuf.TransferResult.buffer
The newly created buffer associated with the target allocator.
|
| Modifier and Type | Method and Description |
|---|---|
ArrowBuf |
ArrowBuf.capacity(int newCapacity) |
ArrowBuf |
ArrowBuf.duplicate() |
ArrowBuf |
ArrowBuf.getBytes(int index,
byte[] dst,
int dstIndex,
int length) |
ArrowBuf |
ArrowBuf.getBytes(int index,
ByteBuffer dst) |
ArrowBuf |
ArrowBuf.getBytes(int index,
io.netty.buffer.ByteBuf dst,
int dstIndex,
int length) |
ArrowBuf |
ArrowBuf.getBytes(int index,
OutputStream out,
int length) |
ArrowBuf |
ArrowBuf.order(ByteOrder endianness) |
ArrowBuf |
ArrowBuf.readerIndex(int readerIndex) |
ArrowBuf |
ArrowBuf.reallocIfNeeded(int size) |
ArrowBuf |
ArrowBuf.retain() |
ArrowBuf |
ArrowBuf.retain(BufferAllocator target)
Create a new ArrowBuf that is associated with an alternative allocator for the purposes of
memory ownership and
accounting.
|
ArrowBuf |
ArrowBuf.retain(int increment) |
ArrowBuf |
ArrowBuf.setByte(int index,
int value) |
ArrowBuf |
ArrowBuf.setBytes(int index,
byte[] src,
int srcIndex,
int length) |
ArrowBuf |
ArrowBuf.setBytes(int index,
ByteBuffer src) |
ArrowBuf |
ArrowBuf.setBytes(int index,
ByteBuffer src,
int srcIndex,
int length) |
ArrowBuf |
ArrowBuf.setBytes(int index,
io.netty.buffer.ByteBuf src,
int srcIndex,
int length) |
ArrowBuf |
ArrowBuf.setChar(int index,
int value) |
ArrowBuf |
ArrowBuf.setDouble(int index,
double value) |
ArrowBuf |
ArrowBuf.setFloat(int index,
float value) |
ArrowBuf |
ArrowBuf.setInt(int index,
int value) |
ArrowBuf |
ArrowBuf.setLong(int index,
long value) |
ArrowBuf |
ArrowBuf.setShort(int index,
int value) |
ArrowBuf |
ArrowBuf.slice() |
ArrowBuf |
ArrowBuf.slice(int index,
int length) |
ArrowBuf |
ArrowBuf.writeChar(int value) |
ArrowBuf |
ArrowBuf.writeDouble(double value) |
ArrowBuf |
ArrowBuf.writeFloat(float value) |
ArrowBuf |
ArrowBuf.writeInt(int value) |
ArrowBuf |
ArrowBuf.writeLong(long value) |
ArrowBuf |
ArrowBuf.writerIndex(int writerIndex) |
ArrowBuf |
ArrowBuf.writeShort(int value) |
| Modifier and Type | Method and Description |
|---|---|
ArrowBuf |
BaseAllocator.Reservation.allocateBuffer() |
ArrowBuf |
AllocationReservation.allocateBuffer()
Allocate a buffer whose size is the total of all the add()s made.
|
ArrowBuf |
BaseAllocator.buffer(int initialRequestSize) |
ArrowBuf |
BufferAllocator.buffer(int size)
Allocate a new or reused buffer of the provided size.
|
ArrowBuf |
BaseAllocator.buffer(int initialRequestSize,
BufferManager manager) |
ArrowBuf |
BufferAllocator.buffer(int size,
BufferManager manager)
Allocate a new or reused buffer of the provided size.
|
ArrowBuf |
BaseAllocator.getEmpty() |
ArrowBuf |
BufferAllocator.getEmpty()
Get a reference to the empty buffer associated with this allocator.
|
ArrowBuf |
BufferManager.getManagedBuffer()
Get a managed buffer of indeterminate size.
|
ArrowBuf |
BufferManager.getManagedBuffer(int size)
Get a managed buffer of at least a certain size.
|
ArrowBuf |
AllocationManager.BufferLedger.newArrowBuf(int offset,
int length)
Create a new ArrowBuf associated with this AllocationManager and memory.
|
ArrowBuf |
AllocationManager.BufferLedger.newArrowBuf(int offset,
int length,
BufferManager manager)
Create a new ArrowBuf associated with this AllocationManager and memory.
|
ArrowBuf |
BufferManager.replace(ArrowBuf old,
int newSize)
Replace an old buffer with a new version at least of the provided size.
|
| Modifier and Type | Method and Description |
|---|---|
ArrowBuf |
BufferManager.replace(ArrowBuf old,
int newSize)
Replace an old buffer with a new version at least of the provided size.
|
Copyright © 2017 The Apache Software Foundation. All rights reserved.