Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hydra.Ext.Org.Apache.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
|
_Array_items :: Name Source #
Constructors
Enum_ | |
Fields
|
_Enum_symbols :: Name Source #
_Enum_default :: Name Source #
Constructors
Field | |
Fields
|
_Field_name :: Name Source #
_Field_doc :: Name Source #
_Field_type :: Name Source #
_Field_order :: Name Source #
_Fixed_size :: Name Source #
_Map_values :: Name Source #
Constructors
Named | |
Fields
|
_Named_name :: Name Source #
_Named_doc :: Name Source #
_Named_type :: Name Source #
Constructors
NamedTypeEnum Enum_ | |
NamedTypeFixed Fixed | |
NamedTypeRecord Record |
Instances
Read NamedType Source # | |
Show NamedType Source # | |
Eq NamedType Source # | |
Ord NamedType Source # | |
Defined in Hydra.Ext.Org.Apache.Avro.Schema |
_NamedType :: Name Source #
Constructors
OrderAscending | |
OrderDescending | |
OrderIgnore |
_Order_ignore :: Name Source #
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 # | |
Defined in Hydra.Ext.Org.Apache.Avro.Schema |
_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 |
_Schema_array :: Name Source #
_Schema_map :: Name Source #
_Schema_named :: Name Source #
_Schema_union :: Name Source #