avro-0.3.4.2: Avro serialization support for Haskell

Safe HaskellNone
LanguageHaskell2010

Data.Avro.EitherN

Documentation

data Either3 a b c Source #

Constructors

E3_1 a 
E3_2 b 
E3_3 c 
Instances
(Eq a, Eq b, Eq c) => Eq (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

(==) :: Either3 a b c -> Either3 a b c -> Bool #

(/=) :: Either3 a b c -> Either3 a b c -> Bool #

(Ord a, Ord b, Ord c) => Ord (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

compare :: Either3 a b c -> Either3 a b c -> Ordering #

(<) :: Either3 a b c -> Either3 a b c -> Bool #

(<=) :: Either3 a b c -> Either3 a b c -> Bool #

(>) :: Either3 a b c -> Either3 a b c -> Bool #

(>=) :: Either3 a b c -> Either3 a b c -> Bool #

max :: Either3 a b c -> Either3 a b c -> Either3 a b c #

min :: Either3 a b c -> Either3 a b c -> Either3 a b c #

(Show a, Show b, Show c) => Show (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

showsPrec :: Int -> Either3 a b c -> ShowS #

show :: Either3 a b c -> String #

showList :: [Either3 a b c] -> ShowS #

Generic (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Associated Types

type Rep (Either3 a b c) :: * -> * #

Methods

from :: Either3 a b c -> Rep (Either3 a b c) x #

to :: Rep (Either3 a b c) x -> Either3 a b c #

(HasAvroSchema a, HasAvroSchema b, HasAvroSchema c) => HasAvroSchema (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

schema :: Tagged (Either3 a b c) Type Source #

(ToAvro a, ToAvro b, ToAvro c) => ToAvro (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

toAvro :: Either3 a b c -> Value Type Source #

(FromAvro a, FromAvro b, FromAvro c) => FromAvro (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

fromAvro :: Value Type -> Result (Either3 a b c) Source #

type Rep (Either3 a b c) Source # 
Instance details

Defined in Data.Avro.EitherN

data Either4 a b c d Source #

Constructors

E4_1 a 
E4_2 b 
E4_3 c 
E4_4 d 
Instances
(Eq a, Eq b, Eq c, Eq d) => Eq (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

(==) :: Either4 a b c d -> Either4 a b c d -> Bool #

(/=) :: Either4 a b c d -> Either4 a b c d -> Bool #

(Ord a, Ord b, Ord c, Ord d) => Ord (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

compare :: Either4 a b c d -> Either4 a b c d -> Ordering #

(<) :: Either4 a b c d -> Either4 a b c d -> Bool #

(<=) :: Either4 a b c d -> Either4 a b c d -> Bool #

(>) :: Either4 a b c d -> Either4 a b c d -> Bool #

(>=) :: Either4 a b c d -> Either4 a b c d -> Bool #

max :: Either4 a b c d -> Either4 a b c d -> Either4 a b c d #

min :: Either4 a b c d -> Either4 a b c d -> Either4 a b c d #

(Show a, Show b, Show c, Show d) => Show (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

showsPrec :: Int -> Either4 a b c d -> ShowS #

show :: Either4 a b c d -> String #

showList :: [Either4 a b c d] -> ShowS #

Generic (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Associated Types

type Rep (Either4 a b c d) :: * -> * #

Methods

from :: Either4 a b c d -> Rep (Either4 a b c d) x #

to :: Rep (Either4 a b c d) x -> Either4 a b c d #

(HasAvroSchema a, HasAvroSchema b, HasAvroSchema c, HasAvroSchema d) => HasAvroSchema (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

schema :: Tagged (Either4 a b c d) Type Source #

(ToAvro a, ToAvro b, ToAvro c, ToAvro d) => ToAvro (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

toAvro :: Either4 a b c d -> Value Type Source #

(FromAvro a, FromAvro b, FromAvro c, FromAvro d) => FromAvro (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

fromAvro :: Value Type -> Result (Either4 a b c d) Source #

type Rep (Either4 a b c d) Source # 
Instance details

Defined in Data.Avro.EitherN

data Either5 a b c d e Source #

Constructors

E5_1 a 
E5_2 b 
E5_3 c 
E5_4 d 
E5_5 e 
Instances
(Eq a, Eq b, Eq c, Eq d, Eq e) => Eq (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

(==) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

(/=) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

(Ord a, Ord b, Ord c, Ord d, Ord e) => Ord (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

compare :: Either5 a b c d e -> Either5 a b c d e -> Ordering #

(<) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

(<=) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

(>) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

(>=) :: Either5 a b c d e -> Either5 a b c d e -> Bool #

max :: Either5 a b c d e -> Either5 a b c d e -> Either5 a b c d e #

min :: Either5 a b c d e -> Either5 a b c d e -> Either5 a b c d e #

(Show a, Show b, Show c, Show d, Show e) => Show (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

showsPrec :: Int -> Either5 a b c d e -> ShowS #

show :: Either5 a b c d e -> String #

showList :: [Either5 a b c d e] -> ShowS #

Generic (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Associated Types

type Rep (Either5 a b c d e) :: * -> * #

Methods

from :: Either5 a b c d e -> Rep (Either5 a b c d e) x #

to :: Rep (Either5 a b c d e) x -> Either5 a b c d e #

(HasAvroSchema a, HasAvroSchema b, HasAvroSchema c, HasAvroSchema d, HasAvroSchema e) => HasAvroSchema (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

schema :: Tagged (Either5 a b c d e) Type Source #

(ToAvro a, ToAvro b, ToAvro c, ToAvro d, ToAvro e) => ToAvro (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

toAvro :: Either5 a b c d e -> Value Type Source #

(FromAvro a, FromAvro b, FromAvro c, FromAvro d, FromAvro e) => FromAvro (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN

Methods

fromAvro :: Value Type -> Result (Either5 a b c d e) Source #

type Rep (Either5 a b c d e) Source # 
Instance details

Defined in Data.Avro.EitherN