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

Hydra.Langs.Tinkerpop.Mappings

Description

A model for property graph mapping specifications. See https://github.com/CategoricalData/hydra/wiki/Property-graphs

Synopsis

Documentation

data AnnotationSchema Source #

Configurable annotation keys for property graph mapping specifications

data EdgeSpec Source #

A mapping specification producing edges of a specified label.

Constructors

EdgeSpec 

Fields

data PropertySpec Source #

A mapping specification producing properties of a specified key, and values of the appropriate type.

Constructors

PropertySpec 

Fields

data Schema s t v Source #

A set of mappings which translates between Hydra terms and annotations, and application-specific property graph types

data ValueSpec Source #

A mapping specification producing values (usually literal values) whose type is understood in context

Constructors

ValueSpecValue

A trivial no-op specification which passes the entire value

ValueSpecPattern String

A compact path representing the function, e.g. engine-${engineInfomodelname}

data VertexSpec Source #

A mapping specification producing vertices of a specified label

Constructors

VertexSpec 

Fields