algebra-dag-0.1.1.1: Infrastructure for DAG-shaped relational algebra plans

Safe HaskellNone
LanguageHaskell98

Database.Algebra.Dag.Common

Synopsis

Documentation

type AlgNode = Int Source

Identifiers for DAG nodes.

type AlgMap alg = Map alg AlgNode Source

type NodeMap a = IntMap a Source

data Algebra t b u n c Source

Tertiary, Binary, unary and leaf nodes of a relational algebra DAG.

Constructors

TerOp t c c c 
BinOp b c c 
UnOp u c 
NullaryOp n 

Instances

(Eq t, Eq b, Eq u, Eq n, Eq c) => Eq (Algebra t b u n c) Source 
(Ord t, Ord b, Ord u, Ord n, Ord c) => Ord (Algebra t b u n c) Source 
(Read t, Read b, Read u, Read n, Read c) => Read (Algebra t b u n c) Source 
(Show t, Show b, Show u, Show n, Show c) => Show (Algebra t b u n c) Source 
Generic (Algebra t b u n c) Source 
(ToJSON t, ToJSON b, ToJSON u, ToJSON n, ToJSON c) => ToJSON (Algebra t b u n c) Source 
(FromJSON t, FromJSON b, FromJSON u, FromJSON n, FromJSON c) => FromJSON (Algebra t b u n c) Source 
type Rep (Algebra t b u n c) Source