Class BinaryView

java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.BinaryView

public final class BinaryView extends com.google.flatbuffers.Table
Logically the same as Binary, but the internal representation uses a view struct that contains the string length and either the string's entire data inline (for small strings) or an inlined prefix, an index of another buffer, and an offset pointing to a slice in that buffer (for non-small strings). Since it uses a variable number of data buffers, each Field with this type must have a corresponding entry in `variadicBufferCounts`.
  • Constructor Details

    • BinaryView

      public BinaryView()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsBinaryView

      public static BinaryView getRootAsBinaryView(ByteBuffer _bb)
    • getRootAsBinaryView

      public static BinaryView getRootAsBinaryView(ByteBuffer _bb, BinaryView obj)
    • __init

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

      public BinaryView __assign(int _i, ByteBuffer _bb)
    • startBinaryView

      public static void startBinaryView(com.google.flatbuffers.FlatBufferBuilder builder)
    • endBinaryView

      public static int endBinaryView(com.google.flatbuffers.FlatBufferBuilder builder)