Class ArrowBuffer

java.lang.Object
org.apache.arrow.vector.ipc.message.ArrowBuffer
All Implemented Interfaces:
FBSerializable

public class ArrowBuffer extends Object implements FBSerializable
Metadata for a buffer written to a channel.
  • Constructor Details

    • ArrowBuffer

      public ArrowBuffer(long offset, long size)
      Constructs a new instance.
      Parameters:
      offset - The offset to the start of the buffer in the channel.
      size - The size of the buffer.
  • Method Details

    • getOffset

      public long getOffset()
    • getSize

      public long getSize()
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • writeTo

      public int writeTo(com.google.flatbuffers.FlatBufferBuilder builder)
      Description copied from interface: FBSerializable
      Returns the number of bytes taken to serialize the data in builder after writing to it.
      Specified by:
      writeTo in interface FBSerializable
    • toString

      public String toString()
      Overrides:
      toString in class Object