Class KeyValue
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- com.google.flatbuffers.reflection.KeyValue
-
public final class KeyValue extends Table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classKeyValue.Vector
-
Constructor Summary
Constructors Constructor Description KeyValue()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
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: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
public static KeyValue __lookup_by_key(KeyValue obj, int vectorLocation, String key, ByteBuffer bb)
-
-