avro-0.3.0.2: Avro serialization support for Haskell

Safe HaskellNone
LanguageHaskell2010

Data.Avro.HasAvroSchema

Documentation

class HasAvroSchema a where Source #

Minimal complete definition

schema

Methods

schema :: Tagged a Type Source #

Instances

HasAvroSchema Bool Source # 
HasAvroSchema Double Source # 
HasAvroSchema Float Source # 
HasAvroSchema Int Source # 
HasAvroSchema Int8 Source # 
HasAvroSchema Int16 Source # 
HasAvroSchema Int32 Source # 
HasAvroSchema Int64 Source # 
HasAvroSchema Word8 Source # 
HasAvroSchema Word16 Source # 
HasAvroSchema Word32 Source # 
HasAvroSchema Word64 Source # 
HasAvroSchema () Source # 

Methods

schema :: Tagged * () Type Source #

HasAvroSchema ByteString Source # 
HasAvroSchema ByteString Source # 
HasAvroSchema Text Source # 
HasAvroSchema Text Source # 
HasAvroSchema a => HasAvroSchema [a] Source # 

Methods

schema :: Tagged * [a] Type Source #

HasAvroSchema a => HasAvroSchema (Maybe a) Source # 

Methods

schema :: Tagged * (Maybe a) Type Source #

HasAvroSchema a => HasAvroSchema (Set a) Source # 

Methods

schema :: Tagged * (Set a) Type Source #

HasAvroSchema a => HasAvroSchema (Vector a) Source # 

Methods

schema :: Tagged * (Vector a) Type Source #

HasAvroSchema a => HasAvroSchema (Vector a) Source # 

Methods

schema :: Tagged * (Vector a) Type Source #

(HasAvroSchema a, HasAvroSchema b) => HasAvroSchema (Either a b) Source # 

Methods

schema :: Tagged * (Either a b) Type Source #

HasAvroSchema a => HasAvroSchema (HashMap String a) Source # 
HasAvroSchema a => HasAvroSchema (HashMap Text a) Source # 
HasAvroSchema a => HasAvroSchema (HashMap Text a) Source # 
HasAvroSchema a => HasAvroSchema (Map String a) Source # 
HasAvroSchema a => HasAvroSchema (Map Text a) Source # 

Methods

schema :: Tagged * (Map Text a) Type Source #

HasAvroSchema a => HasAvroSchema (Map Text a) Source # 

Methods

schema :: Tagged * (Map Text a) Type Source #

(HasAvroSchema a, Ix i) => HasAvroSchema (Array i a) Source # 

Methods

schema :: Tagged * (Array i a) Type Source #