Class KeyValue
java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.KeyValue
-
Nested Class Summary
Nested Classes -
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static KeyValue__lookup_by_key(KeyValue obj, int vectorLocation, String key, ByteBuffer bb) static voidaddKey(FlatBufferBuilder builder, int keyOffset) static voidaddValue(FlatBufferBuilder builder, int valueOffset) static intcreateKeyValue(FlatBufferBuilder builder, int keyOffset, int valueOffset) static intendKeyValue(FlatBufferBuilder builder) static KeyValuestatic KeyValuegetRootAsKeyValue(ByteBuffer _bb, KeyValue obj) key()protected intkeysCompare(Integer o1, Integer o2, ByteBuffer _bb) Compare two tables by the key.static voidstartKeyValue(FlatBufferBuilder builder) static voidvalue()Methods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, sortTables
-
Constructor Details
-
KeyValue
public KeyValue()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsKeyValue
-
getRootAsKeyValue
-
__init
-
__assign
-
key
-
keyAsByteBuffer
-
keyInByteBuffer
-
value
-
valueAsByteBuffer
-
valueInByteBuffer
-
createKeyValue
-
startKeyValue
-
addKey
-
addValue
-
endKeyValue
-
keysCompare
Description copied from class:TableCompare two tables by the key.- Overrides:
keysComparein classTable- Parameters:
o1- An 'Integer' index of the first key into the bb.o2- An 'Integer' index of the second key into the bb._bb- AByteBufferto get the keys.
-
__lookup_by_key
-