This separator is used to generate the flattened name of a nested field.
This separator is used to generate the flattened name of a nested field. E.g., if a record is nested like so:
- record Genotype -- variant: Variant --- start: Long --- end: Long -- genotypeState: Int
With the SEPARATOR "", the flat record will be:
- record Genotype -- variantstart: Long -- variantend: Long -- genotypeState: Int
Takes a given nested record and flattens it to correspond to a flattened schema.
Takes a given nested record and flattens it to correspond to a flattened schema.
The flat schema for the new record.
The nested record to flatten.
Returns a new Avro IndexedRecord where every field from the initial record has been copied, but where the schema corresponds to the new flat schema.
Given a possibly nested schema, creates a flat schema.
Given a possibly nested schema, creates a flat schema.
The schema to flatten.
Returns a flattened representation of the schema.
Utility singleton for flattening down nested Avro records.
When we refer to a schema as flat, we mean that there are no nested records. We do not mean that the schema does not contain maps or arrays.