Expand description
Logic for parsing and interacting with schemas in Avro format.
StructsΒ§
- Full
Name - Name
- Represents names for
record,enumandfixedAvro schemas. - Named
Schema Piece - Parse
Schema Error - Describes errors happened while parsing Avro schemas.
- Record
Field - Represents a
fieldin arecordAvro schema. - Record
Field πSerContext - Resolved
Default Value Field - Schema
- Represents any valid Avro schema More information about Avro schemas can be found in the Avro Specification
- Schema
Fingerprint - Represents an Avro schema fingerprint More information about Avro schema fingerprints can be found in the Avro Schema Resolution documentation
- Schema
Node - Schema
Node OrNamed - Schema
Parser π - Schema
SerContext π - Schema
Subtree πDeep Cloner - Union
Schema
EnumsΒ§
- Record
Field Order - Represents any valid order for a
fieldin arecordAvro schema. - Resolved
Record Field - Schema
Kind - This type is used to simplify enum variant comparison between
Schemaandtypes::Value. - Schema
Piece - Schema
Piece OrNamed - Schema
Piece RefOr Named
ConstantsΒ§
- MAX_
SCHEMA_ πDEPTH - Cap on nested-type depth while parsing an Avro schema JSON. The parser
recurses through
parse_innerfor every nestedrecord/array/map/unionso an untrusted schema like{"type":{"type":{"type":...}}}can otherwise overflow the stack.
FunctionsΒ§
- can_
promote π - Returns
trueif a value written with primitive schemawritercan be read as primitivereaderunder Avroβs numeric promotion rules:intβlong/float/double,longβfloat/double, andfloatβdouble. - field_
ordering_ πposition - parsing_
canonical_ πform - Parses a valid avro schema into the Parsing Canonical Form. https://avro.apache.org/docs/++version++/specification#parsing-canonical-form-for-schemas
- pcf π
- pcf_
array π - pcf_map π
- pcf_
string π - resolve_
schemas
Type AliasesΒ§
- Documentation
- Represents documentation for complex Avro schemas.