hydra-0.1.0: Type-aware transformations for data and functional programs
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hydra.Ext.Tinkerpop.V3

Description

A simple TinkerPop version 3 syntax model

Synopsis

Documentation

data Edge v e p Source #

An edge

Constructors

Edge 

Instances

Instances details
(Read e, Read v, Read p) => Read (Edge v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

readsPrec :: Int -> ReadS (Edge v e p) #

readList :: ReadS [Edge v e p] #

readPrec :: ReadPrec (Edge v e p) #

readListPrec :: ReadPrec [Edge v e p] #

(Show e, Show v, Show p) => Show (Edge v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

showsPrec :: Int -> Edge v e p -> ShowS #

show :: Edge v e p -> String #

showList :: [Edge v e p] -> ShowS #

(Eq e, Eq v, Eq p) => Eq (Edge v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

(==) :: Edge v e p -> Edge v e p -> Bool #

(/=) :: Edge v e p -> Edge v e p -> Bool #

(Ord e, Ord v, Ord p) => Ord (Edge v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

compare :: Edge v e p -> Edge v e p -> Ordering #

(<) :: Edge v e p -> Edge v e p -> Bool #

(<=) :: Edge v e p -> Edge v e p -> Bool #

(>) :: Edge v e p -> Edge v e p -> Bool #

(>=) :: Edge v e p -> Edge v e p -> Bool #

max :: Edge v e p -> Edge v e p -> Edge v e p #

min :: Edge v e p -> Edge v e p -> Edge v e p #

newtype EdgeLabel Source #

The (required) label of an edge

Constructors

EdgeLabel 

Fields

data Element v e p Source #

Either a vertex or an edge

Constructors

ElementVertex (Vertex v p) 
ElementEdge (Edge v e p) 

Instances

Instances details
(Read v, Read p, Read e) => Read (Element v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

readsPrec :: Int -> ReadS (Element v e p) #

readList :: ReadS [Element v e p] #

readPrec :: ReadPrec (Element v e p) #

readListPrec :: ReadPrec [Element v e p] #

(Show v, Show p, Show e) => Show (Element v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

showsPrec :: Int -> Element v e p -> ShowS #

show :: Element v e p -> String #

showList :: [Element v e p] -> ShowS #

(Eq v, Eq p, Eq e) => Eq (Element v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

(==) :: Element v e p -> Element v e p -> Bool #

(/=) :: Element v e p -> Element v e p -> Bool #

(Ord v, Ord p, Ord e) => Ord (Element v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

compare :: Element v e p -> Element v e p -> Ordering #

(<) :: Element v e p -> Element v e p -> Bool #

(<=) :: Element v e p -> Element v e p -> Bool #

(>) :: Element v e p -> Element v e p -> Bool #

(>=) :: Element v e p -> Element v e p -> Bool #

max :: Element v e p -> Element v e p -> Element v e p #

min :: Element v e p -> Element v e p -> Element v e p #

data Graph v e p Source #

A graph; a self-contained collection of vertices and edges

Constructors

Graph 

Fields

Instances

Instances details
(Read v, Read p, Read e, Ord v, Ord p, Ord e) => Read (Graph v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

readsPrec :: Int -> ReadS (Graph v e p) #

readList :: ReadS [Graph v e p] #

readPrec :: ReadPrec (Graph v e p) #

readListPrec :: ReadPrec [Graph v e p] #

(Show v, Show p, Show e) => Show (Graph v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

showsPrec :: Int -> Graph v e p -> ShowS #

show :: Graph v e p -> String #

showList :: [Graph v e p] -> ShowS #

(Eq v, Eq p, Eq e) => Eq (Graph v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

(==) :: Graph v e p -> Graph v e p -> Bool #

(/=) :: Graph v e p -> Graph v e p -> Bool #

(Ord v, Ord p, Ord e) => Ord (Graph v e p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

compare :: Graph v e p -> Graph v e p -> Ordering #

(<) :: Graph v e p -> Graph v e p -> Bool #

(<=) :: Graph v e p -> Graph v e p -> Bool #

(>) :: Graph v e p -> Graph v e p -> Bool #

(>=) :: Graph v e p -> Graph v e p -> Bool #

max :: Graph v e p -> Graph v e p -> Graph v e p #

min :: Graph v e p -> Graph v e p -> Graph v e p #

data Property p Source #

A key/value property

Constructors

Property 

Instances

Instances details
Read p => Read (Property p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Show p => Show (Property p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

showsPrec :: Int -> Property p -> ShowS #

show :: Property p -> String #

showList :: [Property p] -> ShowS #

Eq p => Eq (Property p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

(==) :: Property p -> Property p -> Bool #

(/=) :: Property p -> Property p -> Bool #

Ord p => Ord (Property p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

compare :: Property p -> Property p -> Ordering #

(<) :: Property p -> Property p -> Bool #

(<=) :: Property p -> Property p -> Bool #

(>) :: Property p -> Property p -> Bool #

(>=) :: Property p -> Property p -> Bool #

max :: Property p -> Property p -> Property p #

min :: Property p -> Property p -> Property p #

data Vertex v p Source #

A vertex

Instances

Instances details
(Read v, Read p) => Read (Vertex v p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

(Show v, Show p) => Show (Vertex v p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

showsPrec :: Int -> Vertex v p -> ShowS #

show :: Vertex v p -> String #

showList :: [Vertex v p] -> ShowS #

(Eq v, Eq p) => Eq (Vertex v p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

(==) :: Vertex v p -> Vertex v p -> Bool #

(/=) :: Vertex v p -> Vertex v p -> Bool #

(Ord v, Ord p) => Ord (Vertex v p) Source # 
Instance details

Defined in Hydra.Ext.Tinkerpop.V3

Methods

compare :: Vertex v p -> Vertex v p -> Ordering #

(<) :: Vertex v p -> Vertex v p -> Bool #

(<=) :: Vertex v p -> Vertex v p -> Bool #

(>) :: Vertex v p -> Vertex v p -> Bool #

(>=) :: Vertex v p -> Vertex v p -> Bool #

max :: Vertex v p -> Vertex v p -> Vertex v p #

min :: Vertex v p -> Vertex v p -> Vertex v p #

newtype VertexLabel Source #

The label of a vertex. The default (null) vertex is represented by the empty string

Constructors

VertexLabel 

Fields

  • unVertexLabel :: String

    The label of a vertex. The default (null) vertex is represented by the empty string