Package org.apache.arrow.memory.patch
Class ArrowByteBufAllocator
java.lang.Object
io.netty.buffer.AbstractByteBufAllocator
org.apache.arrow.memory.patch.ArrowByteBufAllocator
- All Implemented Interfaces:
io.netty.buffer.ByteBufAllocator
Deprecated.
This class may be removed in a future release.
An implementation of ByteBufAllocator that wraps a Arrow BufferAllocator. This allows the RPC
layer to be accounted and managed using Arrow's BufferAllocator infrastructure. The only thin
different from a typical BufferAllocator is the signature and the fact that this Allocator
returns ExpandableByteBufs which enable otherwise non-expandable ArrowBufs to be expandable.
-
Field Summary
Fields inherited from interface io.netty.buffer.ByteBufAllocator
DEFAULT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBuf
buffer()
Deprecated.io.netty.buffer.ByteBuf
buffer
(int initialCapacity) Deprecated.io.netty.buffer.ByteBuf
buffer
(int initialCapacity, int maxCapacity) Deprecated.io.netty.buffer.CompositeByteBuf
Deprecated.io.netty.buffer.CompositeByteBuf
compositeBuffer
(int maxNumComponents) Deprecated.io.netty.buffer.CompositeByteBuf
Deprecated.io.netty.buffer.CompositeByteBuf
compositeDirectBuffer
(int maxNumComponents) Deprecated.io.netty.buffer.CompositeByteBuf
Deprecated.io.netty.buffer.CompositeByteBuf
compositeHeapBuffer
(int maxNumComponents) Deprecated.io.netty.buffer.ByteBuf
Deprecated.io.netty.buffer.ByteBuf
directBuffer
(int initialCapacity) Deprecated.io.netty.buffer.ByteBuf
directBuffer
(int initialCapacity, int maxCapacity) Deprecated.io.netty.buffer.ByteBuf
Deprecated.io.netty.buffer.ByteBuf
heapBuffer
(int initialCapacity) Deprecated.io.netty.buffer.ByteBuf
heapBuffer
(int initialCapacity, int maxCapacity) Deprecated.io.netty.buffer.ByteBuf
ioBuffer()
Deprecated.io.netty.buffer.ByteBuf
ioBuffer
(int initialCapacity) Deprecated.io.netty.buffer.ByteBuf
ioBuffer
(int initialCapacity, int maxCapacity) Deprecated.boolean
Deprecated.protected io.netty.buffer.ByteBuf
newDirectBuffer
(int initialCapacity, int maxCapacity) Deprecated.protected io.netty.buffer.ByteBuf
newHeapBuffer
(int initialCapacity, int maxCapacity) Deprecated.unwrap()
Deprecated.Methods inherited from class io.netty.buffer.AbstractByteBufAllocator
calculateNewCapacity, toLeakAwareBuffer, toLeakAwareBuffer, toString
-
Constructor Details
-
ArrowByteBufAllocator
Deprecated.
-
-
Method Details
-
unwrap
Deprecated. -
buffer
public io.netty.buffer.ByteBuf buffer()Deprecated.- Specified by:
buffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
buffer
in classio.netty.buffer.AbstractByteBufAllocator
-
buffer
public io.netty.buffer.ByteBuf buffer(int initialCapacity) Deprecated.- Specified by:
buffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
buffer
in classio.netty.buffer.AbstractByteBufAllocator
-
buffer
public io.netty.buffer.ByteBuf buffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
buffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
buffer
in classio.netty.buffer.AbstractByteBufAllocator
-
ioBuffer
public io.netty.buffer.ByteBuf ioBuffer()Deprecated.- Specified by:
ioBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
ioBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
ioBuffer
public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity) Deprecated.- Specified by:
ioBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
ioBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
ioBuffer
public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
ioBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
ioBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
directBuffer
public io.netty.buffer.ByteBuf directBuffer()Deprecated.- Specified by:
directBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
directBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
directBuffer
public io.netty.buffer.ByteBuf directBuffer(int initialCapacity) Deprecated.- Specified by:
directBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
directBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
directBuffer
public io.netty.buffer.ByteBuf directBuffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
directBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
directBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeBuffer
public io.netty.buffer.CompositeByteBuf compositeBuffer()Deprecated.- Specified by:
compositeBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeBuffer
public io.netty.buffer.CompositeByteBuf compositeBuffer(int maxNumComponents) Deprecated.- Specified by:
compositeBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeDirectBuffer
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer()Deprecated.- Specified by:
compositeDirectBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeDirectBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeDirectBuffer
public io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int maxNumComponents) Deprecated.- Specified by:
compositeDirectBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeDirectBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
isDirectBufferPooled
public boolean isDirectBufferPooled()Deprecated. -
heapBuffer
public io.netty.buffer.ByteBuf heapBuffer()Deprecated.- Specified by:
heapBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
heapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
heapBuffer
public io.netty.buffer.ByteBuf heapBuffer(int initialCapacity) Deprecated.- Specified by:
heapBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
heapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
heapBuffer
public io.netty.buffer.ByteBuf heapBuffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
heapBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
heapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeHeapBuffer
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer()Deprecated.- Specified by:
compositeHeapBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeHeapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
compositeHeapBuffer
public io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int maxNumComponents) Deprecated.- Specified by:
compositeHeapBuffer
in interfaceio.netty.buffer.ByteBufAllocator
- Overrides:
compositeHeapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
newHeapBuffer
protected io.netty.buffer.ByteBuf newHeapBuffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
newHeapBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-
newDirectBuffer
protected io.netty.buffer.ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity) Deprecated.- Specified by:
newDirectBuffer
in classio.netty.buffer.AbstractByteBufAllocator
-