Create a SchemaBuilderImpl
a constructor function for creating RecordV2 implementations
The fields of the current record that will be added to the records array
The maximum multiplicity of the current record that will be added to the records array
The minimum multiplicity of the current record that will be added to the records array
The name of the current record that will be added to the records array
A constructor function for creating RecordV2 implementations
The records that have been added to the schema
Add the current record to the records array
Build an immutable Schema.
At least one record with at least one field must have been added to the builder.
a new immutable schema object representing the current state of the builder
Check for duplicate field names or a field after a variable multiplicity field
the field name
Check for duplicate record names or a record after a variable multiplicity record
the record name
Get the index of the next field to be added
the current field index plus the current multiplicity
Implementation of the SchemaBuilder interface