cayley-client-0.2.0.0: A Haskell client for the Cayley graph database

Safe HaskellNone
LanguageHaskell2010

Database.Cayley.Types

Synopsis

Documentation

data APIVersion Source #

Constructors

V1 

data QueryLang Source #

Constructors

Gremlin 
MQL 

defaultCayleyConfig :: CayleyConfig Source #

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

data Quad Source #

Constructors

Quad 

Fields

Instances

Eq Quad Source #

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

Methods

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

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

Show Quad Source # 

Methods

showsPrec :: Int -> Quad -> ShowS #

show :: Quad -> String #

showList :: [Quad] -> ShowS #

FromJSON Quad Source # 
ToJSON Quad Source # 

data Shape Source #

Constructors

Shape 

Fields

data Node Source #

Constructors

Node 

Fields

Instances

Eq Node Source # 

Methods

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

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

Show Node Source # 

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

data Link Source #

Constructors

Link 

Fields

type Tag = Text Source #