packstream-0.1.0.2: PackStream converter for Neo4j BOLT protocol
Safe HaskellNone
LanguageHaskell2010

Data.PackStream.Structure

Synopsis

Documentation

class ToStructure a where Source #

The set of types, that can be presented as PackStream Structures

Methods

toStructure :: a -> Structure Source #

Convert object to Structure

data Node Source #

Snapshot of a node within a graph database

Constructors

Node 

Fields

Instances

Instances details
Eq Node Source # 
Instance details

Defined in Data.PackStream.Structure

Methods

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

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

Show Node Source # 
Instance details

Defined in Data.PackStream.Structure

Methods

showsPrec :: Int -> Node -> ShowS #

show :: Node -> String #

showList :: [Node] -> ShowS #

FromStructure Node Source # 
Instance details

Defined in Data.PackStream.Structure

ToStructure Node Source # 
Instance details

Defined in Data.PackStream.Structure

data Relationship Source #

Snapshot of a relationship within a graph database

Constructors

Relationship 

Fields

data UnboundRelationship Source #

Relationship detail without start or end node information

Constructors

UnboundRelationship 

Fields

data Path Source #

Alternating sequence of nodes and relationships

Constructors

Path 

Fields

Instances

Instances details
Eq Path Source # 
Instance details

Defined in Data.PackStream.Structure

Methods

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

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

Show Path Source # 
Instance details

Defined in Data.PackStream.Structure

Methods

showsPrec :: Int -> Path -> ShowS #

show :: Path -> String #

showList :: [Path] -> ShowS #

FromStructure Path Source # 
Instance details

Defined in Data.PackStream.Structure

ToStructure Path Source # 
Instance details

Defined in Data.PackStream.Structure