Expand description
Data type conversions between Avro and Arrow types
This module contains the necessary types and functions to convert between Avro data types and Arrow data types.
Structs§
- Avro
Data Type - An Avro datatype mapped to the arrow data model
- Avro
Field - A named
AvroDataType
- Avro
Field Builder - Builder for an
AvroField
- Enum
Mapping - Holds the mapping information for resolving Avro enums.
- Maker 🔒
- Resolves Avro type names to
AvroDataType
- Resolved
Record - Contains the necessary information to resolve a writer’s record against a reader’s record schema.
- Resolved
Union - Information required to resolve a writer union against a reader union (or single type).
- Resolver 🔒
- Resolves Avro type names to
AvroDataType
Enums§
- Avro
Literal 🔒 - Represents a literal Avro value.
- Codec
- An Avro encoding
- Promotion 🔒
- Defines the type of promotion to be applied during schema resolution.
- Resolution
Info 🔒 - Contains information about how to resolve differences between a writer’s and a reader’s schema.
- Union
Branch 🔒Key - Union
Field 🔒Kind
Functions§
- branch_
key_ 🔒of - build_
union_ 🔒fields - ensure_
names_ 🔒match - max_
precision_ 🔒for_ fixed_ bytes - Compute the exact maximum base‑10 precision that fits in
n
bytes for Avrofixed
decimals stored as two’s‑complement unscaled integers (big‑endian). - names_
match 🔒 - nullable_
union_ 🔒variants - parse_
decimal_ 🔒attributes - primitive_
of 🔒 - union_
first_ 🔒duplicate - with_
extension_ 🔒type