cayley-client-0.3.3: 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 #

Generic Quad Source # 

Associated Types

type Rep Quad :: * -> * #

Methods

from :: Quad -> Rep Quad x #

to :: Rep Quad x -> Quad #

ToJSON Quad Source # 
FromJSON Quad Source # 
Binary Quad Source # 

Methods

put :: Quad -> Put #

get :: Get Quad #

putList :: [Quad] -> Put #

type Rep 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 #