Class Block

java.lang.Object
com.google.flatbuffers.Struct
org.apache.arrow.flatbuf.Block

public final class Block extends com.google.flatbuffers.Struct
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
     
  • Field Summary

    Fields inherited from class com.google.flatbuffers.Struct

    bb, bb_pos
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    __assign(int _i, ByteBuffer _bb)
     
    void
    __init(int _i, ByteBuffer _bb)
     
    long
    Length of the data (this is aligned so there can be a gap between this and the metadata).
    static int
    createBlock(com.google.flatbuffers.FlatBufferBuilder builder, long offset, int metaDataLength, long bodyLength)
     
    int
    Length of the metadata
    long
    Index to the start of the RecordBlock (note this is past the Message header)

    Methods inherited from class com.google.flatbuffers.Struct

    __reset, __reset

    Methods inherited from class java.lang.Object

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

    • Block

      public Block()
  • Method Details

    • __init

      public void __init(int _i, ByteBuffer _bb)
    • __assign

      public Block __assign(int _i, ByteBuffer _bb)
    • offset

      public long offset()
      Index to the start of the RecordBlock (note this is past the Message header)
    • metaDataLength

      public int metaDataLength()
      Length of the metadata
    • bodyLength

      public long bodyLength()
      Length of the data (this is aligned so there can be a gap between this and the metadata).
    • createBlock

      public static int createBlock(com.google.flatbuffers.FlatBufferBuilder builder, long offset, int metaDataLength, long bodyLength)