Class SchemaFile
java.lang.Object
com.google.flatbuffers.Table
com.google.flatbuffers.reflection.SchemaFile
File specific information.
Symbols declared within a file may be recovered by iterating over all
symbols and examining the `declaration_file` field.
-
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 SchemaFile__lookup_by_key(SchemaFile obj, int vectorLocation, String key, ByteBuffer bb) static voidaddFilename(FlatBufferBuilder builder, int filenameOffset) static voidaddIncludedFilenames(FlatBufferBuilder builder, int includedFilenamesOffset) static intcreateIncludedFilenamesVector(FlatBufferBuilder builder, int[] data) static intcreateSchemaFile(FlatBufferBuilder builder, int filenameOffset, int includedFilenamesOffset) static intendSchemaFile(FlatBufferBuilder builder) filename()Filename, relative to project root.static SchemaFilestatic SchemaFilegetRootAsSchemaFile(ByteBuffer _bb, SchemaFile obj) includedFilenames(int j) Names of included files, relative to project root.intprotected intkeysCompare(Integer o1, Integer o2, ByteBuffer _bb) Compare two tables by the key.static voidstartIncludedFilenamesVector(FlatBufferBuilder builder, int numElems) static voidstartSchemaFile(FlatBufferBuilder builder) static voidMethods 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
-
SchemaFile
public SchemaFile()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsSchemaFile
-
getRootAsSchemaFile
-
__init
-
__assign
-
filename
Filename, relative to project root. -
filenameAsByteBuffer
-
filenameInByteBuffer
-
includedFilenames
Names of included files, relative to project root. -
includedFilenamesLength
public int includedFilenamesLength() -
includedFilenamesVector
-
includedFilenamesVector
-
createSchemaFile
public static int createSchemaFile(FlatBufferBuilder builder, int filenameOffset, int includedFilenamesOffset) -
startSchemaFile
-
addFilename
-
addIncludedFilenames
-
createIncludedFilenamesVector
-
startIncludedFilenamesVector
-
endSchemaFile
-
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
public static SchemaFile __lookup_by_key(SchemaFile obj, int vectorLocation, String key, ByteBuffer bb)
-