java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.Schema
public final class Schema
extends com.google.flatbuffers.Table
----------------------------------------------------------------------
 A Schema describes the columns in a row batch
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Tablebb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int customMetadataOffset) static voidaddEndianness(com.google.flatbuffers.FlatBufferBuilder builder, short endianness) static voidaddFeatures(com.google.flatbuffers.FlatBufferBuilder builder, int featuresOffset) static voidaddFields(com.google.flatbuffers.FlatBufferBuilder builder, int fieldsOffset) static intcreateCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) static intcreateFeaturesVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data) static intcreateFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) static intcreateSchema(com.google.flatbuffers.FlatBufferBuilder builder, short endianness, int fieldsOffset, int customMetadataOffset, int featuresOffset) customMetadata(int j) customMetadata(KeyValue obj, int j) intshortendianness of the buffer it is Little Endian by default if endianness doesn't match the underlying system then the vectors need to be convertedstatic intendSchema(com.google.flatbuffers.FlatBufferBuilder builder) longfeatures(int j) Features used in the stream/file.intcom.google.flatbuffers.LongVectorcom.google.flatbuffers.LongVectorfeaturesVector(com.google.flatbuffers.LongVector obj) fields(int j) intfieldsVector(Field.Vector obj) static voidfinishSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) static voidfinishSizePrefixedSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) static Schemastatic SchemagetRootAsSchema(ByteBuffer _bb, Schema obj) static voidstartCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartFeaturesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) static voidstartSchema(com.google.flatbuffers.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, keysCompare, sortTables
- 
Constructor Details- 
Schemapublic Schema()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsSchema
- 
getRootAsSchema
- 
__init
- 
__assign
- 
endiannesspublic short endianness()endianness of the buffer it is Little Endian by default if endianness doesn't match the underlying system then the vectors need to be converted
- 
fields
- 
fields
- 
fieldsLengthpublic int fieldsLength()
- 
fieldsVector
- 
fieldsVector
- 
customMetadata
- 
customMetadata
- 
customMetadataLengthpublic int customMetadataLength()
- 
customMetadataVector
- 
customMetadataVector
- 
featurespublic long features(int j) Features used in the stream/file.
- 
featuresLengthpublic int featuresLength()
- 
featuresVectorpublic com.google.flatbuffers.LongVector featuresVector()
- 
featuresVectorpublic com.google.flatbuffers.LongVector featuresVector(com.google.flatbuffers.LongVector obj) 
- 
featuresAsByteBuffer
- 
featuresInByteBuffer
- 
createSchemapublic static int createSchema(com.google.flatbuffers.FlatBufferBuilder builder, short endianness, int fieldsOffset, int customMetadataOffset, int featuresOffset) 
- 
startSchemapublic static void startSchema(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addEndiannesspublic static void addEndianness(com.google.flatbuffers.FlatBufferBuilder builder, short endianness) 
- 
addFieldspublic static void addFields(com.google.flatbuffers.FlatBufferBuilder builder, int fieldsOffset) 
- 
createFieldsVectorpublic static int createFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) 
- 
startFieldsVectorpublic static void startFieldsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) 
- 
addCustomMetadatapublic static void addCustomMetadata(com.google.flatbuffers.FlatBufferBuilder builder, int customMetadataOffset) 
- 
createCustomMetadataVectorpublic static int createCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data) 
- 
startCustomMetadataVectorpublic static void startCustomMetadataVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) 
- 
addFeaturespublic static void addFeatures(com.google.flatbuffers.FlatBufferBuilder builder, int featuresOffset) 
- 
createFeaturesVectorpublic static int createFeaturesVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data) 
- 
startFeaturesVectorpublic static void startFeaturesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems) 
- 
endSchemapublic static int endSchema(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
finishSchemaBufferpublic static void finishSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) 
- 
finishSizePrefixedSchemaBufferpublic static void finishSizePrefixedSchemaBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset) 
 
-