| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Hydra.Ext.Avro.Schema
Description
A model for Avro schemas. Based on the Avro 1.11.1 specification: | https://avro.apache.org/docs/1.11.1/specification)
Documentation
Constructors
| Array | |
Fields
| |
Constructors
| Enum_ | |
Fields
| |
Constructors
| Field | |
Fields
| |
Constructors
| Named | |
Fields
| |
Constructors
| NamedTypeEnum Enum_ | |
| NamedTypeFixed Fixed | |
| NamedTypeRecord Record |
Instances
| Read NamedType Source # | |
| Show NamedType Source # | |
| Eq NamedType Source # | |
| Ord NamedType Source # | |
_NamedType :: Name Source #
Constructors
| OrderAscending | |
| OrderDescending | |
| OrderIgnore |
Constructors
| PrimitiveNull | no value |
| PrimitiveBoolean | A binary value |
| PrimitiveInt | 32-bit signed integer |
| PrimitiveLong | 64-bit signed integer |
| PrimitiveFloat | single precision (32-bit) IEEE 754 floating-point number |
| PrimitiveDouble | double precision (64-bit) IEEE 754 floating-point number |
| PrimitiveBytes | sequence of 8-bit unsigned bytes |
| PrimitiveString | unicode character sequence |
Instances
| Read Primitive Source # | |
| Show Primitive Source # | |
| Eq Primitive Source # | |
| Ord Primitive Source # | |
_Primitive :: Name Source #
Constructors
| Record | |
Fields
| |
Constructors
| SchemaArray Array | |
| SchemaMap Map_ | |
| SchemaNamed Named | |
| SchemaPrimitive Primitive | |
| SchemaReference String | A reference by name to a previously defined type |
| SchemaUnion Union |