Class Utf8View

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

public final class Utf8View extends com.google.flatbuffers.Table
Logically the same as Utf8, 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

    • Utf8View

      public Utf8View()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsUtf8View

      public static Utf8View getRootAsUtf8View(ByteBuffer _bb)
    • getRootAsUtf8View

      public static Utf8View getRootAsUtf8View(ByteBuffer _bb, Utf8View obj)
    • __init

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

      public Utf8View __assign(int _i, ByteBuffer _bb)
    • startUtf8View

      public static void startUtf8View(com.google.flatbuffers.FlatBufferBuilder builder)
    • endUtf8View

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