cayley-client-0.4.19.2: A Haskell client for the Cayley graph database
Safe HaskellNone
LanguageHaskell2010

Database.Cayley.Types

Synopsis

Documentation

data APIVersion Source #

Constructors

V1 

Instances

Instances details
Show APIVersion Source # 
Instance details

Defined in Database.Cayley.Types

data QueryLang Source #

Constructors

Gremlin 
MQL 

Instances

Instances details
Show QueryLang Source # 
Instance details

Defined in Database.Cayley.Types

data CayleyConfig Source #

Instances

Instances details
Show CayleyConfig Source # 
Instance details

Defined in Database.Cayley.Types

defaultCayleyConfig :: CayleyConfig Source #

CayleyConfig { serverPort = 64210 , serverName = "localhost" , apiVersion = V1 , queryLang = Gremlin }

data Quad Source #

Constructors

Quad 

Fields

Instances

Instances details
Eq Quad Source #

Two quads are equals when subject, predicate, object and label are equals.

Instance details

Defined in Database.Cayley.Types

Methods

(==) :: Quad -> Quad -> Bool #

(/=) :: Quad -> Quad -> Bool #

Show Quad Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Quad -> ShowS #

show :: Quad -> String #

showList :: [Quad] -> ShowS #

Generic Quad Source # 
Instance details

Defined in Database.Cayley.Types

Associated Types

type Rep Quad :: Type -> Type #

Methods

from :: Quad -> Rep Quad x #

to :: Rep Quad x -> Quad #

ToJSON Quad Source # 
Instance details

Defined in Database.Cayley.Types

FromJSON Quad Source # 
Instance details

Defined in Database.Cayley.Types

Binary Quad Source # 
Instance details

Defined in Database.Cayley.Types

Methods

put :: Quad -> Put #

get :: Get Quad #

putList :: [Quad] -> Put #

type Rep Quad Source # 
Instance details

Defined in Database.Cayley.Types

type Rep Quad = D1 ('MetaData "Quad" "Database.Cayley.Types" "cayley-client-0.4.19.2-B9Ab1XbNO6nKV6ORJTf4so" 'False) (C1 ('MetaCons "Quad" 'PrefixI 'True) ((S1 ('MetaSel ('Just "subject") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "predicate") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "object") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe Text)))))

data Shape Source #

Constructors

Shape 

Fields

Instances

Instances details
Eq Shape Source # 
Instance details

Defined in Database.Cayley.Types

Methods

(==) :: Shape -> Shape -> Bool #

(/=) :: Shape -> Shape -> Bool #

Show Shape Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Shape -> ShowS #

show :: Shape -> String #

showList :: [Shape] -> ShowS #

FromJSON Shape Source # 
Instance details

Defined in Database.Cayley.Types

data Node Source #

Constructors

Node 

Fields

Instances

Instances details
Eq Node Source # 
Instance details

Defined in Database.Cayley.Types

Methods

(==) :: Node -> Node -> Bool #

(/=) :: Node -> Node -> Bool #

Show Node Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

data Link Source #

Constructors

Link 

Fields

Instances

type Tag = Text Source #