Class KeyValue

java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.KeyValue

public final class KeyValue extends Table
  • Constructor Details

    • KeyValue

      public KeyValue()
  • Method Details

    • ValidateVersion

      public static void ValidateVersion()
    • getRootAsKeyValue

      public static KeyValue getRootAsKeyValue(ByteBuffer _bb)
    • getRootAsKeyValue

      public static KeyValue getRootAsKeyValue(ByteBuffer _bb, KeyValue obj)
    • __init

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

      public KeyValue __assign(int _i, ByteBuffer _bb)
    • key

      public String key()
    • keyAsByteBuffer

      public ByteBuffer keyAsByteBuffer()
    • keyInByteBuffer

      public ByteBuffer keyInByteBuffer(ByteBuffer _bb)
    • value

      public String value()
    • valueAsByteBuffer

      public ByteBuffer valueAsByteBuffer()
    • valueInByteBuffer

      public ByteBuffer valueInByteBuffer(ByteBuffer _bb)
    • createKeyValue

      public static int createKeyValue(FlatBufferBuilder builder, int keyOffset, int valueOffset)
    • startKeyValue

      public static void startKeyValue(FlatBufferBuilder builder)
    • addKey

      public static void addKey(FlatBufferBuilder builder, int keyOffset)
    • addValue

      public static void addValue(FlatBufferBuilder builder, int valueOffset)
    • endKeyValue

      public static int endKeyValue(FlatBufferBuilder builder)
    • keysCompare

      protected int keysCompare(Integer o1, Integer o2, ByteBuffer _bb)
      Description copied from class: Table
      Compare two tables by the key.
      Overrides:
      keysCompare in class Table
      Parameters:
      o1 - An 'Integer' index of the first key into the bb.
      o2 - An 'Integer' index of the second key into the bb.
      _bb - A ByteBuffer to get the keys.
    • __lookup_by_key

      public static KeyValue __lookup_by_key(KeyValue obj, int vectorLocation, String key, ByteBuffer bb)