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

Hydra.Langs.Tinkerpop.PropertyGraph

Description

A typed property graph data model. Property graphs are parameterized a type for property and id values, while property graph schemas are parameterized by a type for property and id types

Synopsis

Documentation

data Edge v Source #

An edge

Constructors

Edge 

Fields

Instances

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show v => Show (Edge v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

show :: Edge v -> String #

showList :: [Edge v] -> ShowS #

Eq v => Eq (Edge v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

Ord v => Ord (Edge v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

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

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

max :: Edge v -> Edge v -> Edge v #

min :: Edge v -> Edge v -> Edge v #

data EdgeType t Source #

The type of an edge

Constructors

EdgeType 

Fields

Instances

Instances details
Read t => Read (EdgeType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show t => Show (EdgeType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

showsPrec :: Int -> EdgeType t -> ShowS #

show :: EdgeType t -> String #

showList :: [EdgeType t] -> ShowS #

Eq t => Eq (EdgeType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

(==) :: EdgeType t -> EdgeType t -> Bool #

(/=) :: EdgeType t -> EdgeType t -> Bool #

Ord t => Ord (EdgeType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

compare :: EdgeType t -> EdgeType t -> Ordering #

(<) :: EdgeType t -> EdgeType t -> Bool #

(<=) :: EdgeType t -> EdgeType t -> Bool #

(>) :: EdgeType t -> EdgeType t -> Bool #

(>=) :: EdgeType t -> EdgeType t -> Bool #

max :: EdgeType t -> EdgeType t -> EdgeType t #

min :: EdgeType t -> EdgeType t -> EdgeType t #

data Element v Source #

Either a vertex or an edge

Constructors

ElementVertex (Vertex v) 
ElementEdge (Edge v) 

Instances

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show v => Show (Element v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

show :: Element v -> String #

showList :: [Element v] -> ShowS #

Eq v => Eq (Element v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

Ord v => Ord (Element v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

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

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

max :: Element v -> Element v -> Element v #

min :: Element v -> Element v -> Element v #

data ElementTree v Source #

An element together with its dependencies in some context

data ElementType t Source #

The type of a vertex or edge

data ElementTypeTree t Source #

An element type together with its dependencies in some context

data Graph v Source #

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

Constructors

Graph 

Fields

Instances

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show v => Show (Graph v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

show :: Graph v -> String #

showList :: [Graph v] -> ShowS #

Eq v => Eq (Graph v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

Ord v => Ord (Graph v) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

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

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

max :: Graph v -> Graph v -> Graph v #

min :: Graph v -> Graph v -> Graph v #

data GraphSchema t Source #

A graph schema; a vertex and edge types for the vertices and edges of a graph conforming to the schema

Constructors

GraphSchema 

Fields

data Label Source #

Either a vertex or edge label

Instances

Instances details
Read Label Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show Label Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

Eq Label Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

Ord Label Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

compare :: Label -> Label -> Ordering #

(<) :: Label -> Label -> Bool #

(<=) :: Label -> Label -> Bool #

(>) :: Label -> Label -> Bool #

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

max :: Label -> Label -> Label #

min :: Label -> Label -> Label #

data Property v Source #

A key/value property

Constructors

Property 

Fields

Instances

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

show :: Property v -> String #

showList :: [Property v] -> ShowS #

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

compare :: Property v -> Property v -> Ordering #

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

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

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

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

max :: Property v -> Property v -> Property v #

min :: Property v -> Property v -> Property v #

data PropertyType t Source #

The type of a property

Constructors

PropertyType 

Fields

data Vertex v Source #

A vertex

Constructors

Vertex 

Fields

Instances

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

show :: Vertex v -> String #

showList :: [Vertex v] -> ShowS #

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

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

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

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

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

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

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

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

data VertexType t Source #

The type of a vertex

Constructors

VertexType 

Fields

Instances

Instances details
Read t => Read (VertexType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Show t => Show (VertexType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Eq t => Eq (VertexType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph

Methods

(==) :: VertexType t -> VertexType t -> Bool #

(/=) :: VertexType t -> VertexType t -> Bool #

Ord t => Ord (VertexType t) Source # 
Instance details

Defined in Hydra.Langs.Tinkerpop.PropertyGraph