cayley-client-0.4.19.3: A Haskell client for the Cayley graph database
Safe HaskellSafe-Inferred
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
FromJSON Quad Source # 
Instance details

Defined in Database.Cayley.Types

ToJSON Quad Source # 
Instance details

Defined in Database.Cayley.Types

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 #

Show Quad Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Quad -> ShowS #

show :: Quad -> String #

showList :: [Quad] -> ShowS #

Binary Quad Source # 
Instance details

Defined in Database.Cayley.Types

Methods

put :: Quad -> Put #

get :: Get Quad #

putList :: [Quad] -> Put #

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 #

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.3-DEELHK4hWB6K79WI6a0ukH" '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
FromJSON Shape Source # 
Instance details

Defined in Database.Cayley.Types

Show Shape Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Shape -> ShowS #

show :: Shape -> String #

showList :: [Shape] -> ShowS #

Eq Shape Source # 
Instance details

Defined in Database.Cayley.Types

Methods

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

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

data Node Source #

Constructors

Node 

Fields

Instances

Instances details
Show Node Source # 
Instance details

Defined in Database.Cayley.Types

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

Eq Node Source # 
Instance details

Defined in Database.Cayley.Types

Methods

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

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

data Link Source #

Constructors

Link 

Fields

Instances

type Tag = Text Source #