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

Safe HaskellNone
LanguageHaskell2010

Database.Cayley.Types

Synopsis

Documentation

data APIVersion Source

Constructors

V1 

Instances

data QueryLang Source

Constructors

Gremlin 
MQL 

Instances

defaultCayleyConfig :: CayleyConfig Source

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

data Quad Source

Constructors

Quad 

Fields

subject :: Text

Subject node

predicate :: Text

Predicate node

object :: Text

Object node

label :: Maybe Text

Label node

Instances

Eq Quad

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

Show Quad 
ToJSON Quad 
FromJSON Quad