Class KeyValue


  • public final class KeyValue
    extends Table
    • Constructor Detail

      • KeyValue

        public KeyValue()
    • Method Detail

      • ValidateVersion

        public static void ValidateVersion()
      • getRootAsKeyValue

        public static KeyValue getRootAsKeyValue​(java.nio.ByteBuffer _bb)
      • getRootAsKeyValue

        public static KeyValue getRootAsKeyValue​(java.nio.ByteBuffer _bb,
                                                 KeyValue obj)
      • __init

        public void __init​(int _i,
                           java.nio.ByteBuffer _bb)
      • __assign

        public KeyValue __assign​(int _i,
                                 java.nio.ByteBuffer _bb)
      • key

        public java.lang.String key()
      • keyAsByteBuffer

        public java.nio.ByteBuffer keyAsByteBuffer()
      • keyInByteBuffer

        public java.nio.ByteBuffer keyInByteBuffer​(java.nio.ByteBuffer _bb)
      • value

        public java.lang.String value()
      • valueAsByteBuffer

        public java.nio.ByteBuffer valueAsByteBuffer()
      • valueInByteBuffer

        public java.nio.ByteBuffer valueInByteBuffer​(java.nio.ByteBuffer _bb)
      • createKeyValue

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

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

        protected int keysCompare​(java.lang.Integer o1,
                                  java.lang.Integer o2,
                                  java.nio.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,
                                               java.lang.String key,
                                               java.nio.ByteBuffer bb)