Class ArrowByteBufAllocator

java.lang.Object
io.netty.buffer.AbstractByteBufAllocator
org.apache.arrow.memory.patch.ArrowByteBufAllocator
All Implemented Interfaces:
io.netty.buffer.ByteBufAllocator

@Deprecated public class ArrowByteBufAllocator extends io.netty.buffer.AbstractByteBufAllocator
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

    Constructors
    Constructor
    Description
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.netty.buffer.ByteBuf
    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
    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.
     
    Deprecated.
     

    Methods inherited from class io.netty.buffer.AbstractByteBufAllocator

    calculateNewCapacity, toLeakAwareBuffer, toLeakAwareBuffer, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ArrowByteBufAllocator

      public ArrowByteBufAllocator(BufferAllocator allocator)
      Deprecated.
  • Method Details

    • unwrap

      public BufferAllocator unwrap()
      Deprecated.
    • buffer

      public io.netty.buffer.ByteBuf buffer()
      Deprecated.
      Specified by:
      buffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      buffer in class io.netty.buffer.AbstractByteBufAllocator
    • buffer

      public io.netty.buffer.ByteBuf buffer(int initialCapacity)
      Deprecated.
      Specified by:
      buffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      buffer in class io.netty.buffer.AbstractByteBufAllocator
    • buffer

      public io.netty.buffer.ByteBuf buffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      buffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      buffer in class io.netty.buffer.AbstractByteBufAllocator
    • ioBuffer

      public io.netty.buffer.ByteBuf ioBuffer()
      Deprecated.
      Specified by:
      ioBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      ioBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • ioBuffer

      public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity)
      Deprecated.
      Specified by:
      ioBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      ioBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • ioBuffer

      public io.netty.buffer.ByteBuf ioBuffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      ioBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      ioBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • directBuffer

      public io.netty.buffer.ByteBuf directBuffer()
      Deprecated.
      Specified by:
      directBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      directBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • directBuffer

      public io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
      Deprecated.
      Specified by:
      directBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      directBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • directBuffer

      public io.netty.buffer.ByteBuf directBuffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      directBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      directBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeBuffer

      public io.netty.buffer.CompositeByteBuf compositeBuffer()
      Deprecated.
      Specified by:
      compositeBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeBuffer

      public io.netty.buffer.CompositeByteBuf compositeBuffer(int maxNumComponents)
      Deprecated.
      Specified by:
      compositeBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeDirectBuffer

      public io.netty.buffer.CompositeByteBuf compositeDirectBuffer()
      Deprecated.
      Specified by:
      compositeDirectBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeDirectBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeDirectBuffer

      public io.netty.buffer.CompositeByteBuf compositeDirectBuffer(int maxNumComponents)
      Deprecated.
      Specified by:
      compositeDirectBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeDirectBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • isDirectBufferPooled

      public boolean isDirectBufferPooled()
      Deprecated.
    • heapBuffer

      public io.netty.buffer.ByteBuf heapBuffer()
      Deprecated.
      Specified by:
      heapBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      heapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • heapBuffer

      public io.netty.buffer.ByteBuf heapBuffer(int initialCapacity)
      Deprecated.
      Specified by:
      heapBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      heapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • heapBuffer

      public io.netty.buffer.ByteBuf heapBuffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      heapBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      heapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeHeapBuffer

      public io.netty.buffer.CompositeByteBuf compositeHeapBuffer()
      Deprecated.
      Specified by:
      compositeHeapBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeHeapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • compositeHeapBuffer

      public io.netty.buffer.CompositeByteBuf compositeHeapBuffer(int maxNumComponents)
      Deprecated.
      Specified by:
      compositeHeapBuffer in interface io.netty.buffer.ByteBufAllocator
      Overrides:
      compositeHeapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • newHeapBuffer

      protected io.netty.buffer.ByteBuf newHeapBuffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      newHeapBuffer in class io.netty.buffer.AbstractByteBufAllocator
    • newDirectBuffer

      protected io.netty.buffer.ByteBuf newDirectBuffer(int initialCapacity, int maxCapacity)
      Deprecated.
      Specified by:
      newDirectBuffer in class io.netty.buffer.AbstractByteBufAllocator