Class ArrowBlock

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

public class ArrowBlock extends Object implements FBSerializable
Metadata for an arrow message in a channel.
  • Constructor Details

    • ArrowBlock

      public ArrowBlock(long offset, int metadataLength, long bodyLength)
      Constructs a new instance.
      Parameters:
      offset - The offset into the channel file where the block was written.
      metadataLength - The length of the flatbuffer metadata in the block.
      bodyLength - The length of data in the block.
  • Method Details

    • getOffset

      public long getOffset()
    • getMetadataLength

      public int getMetadataLength()
    • getBodyLength

      public long getBodyLength()
    • 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
    • hashCode

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

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