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

Hydra.Ext.Tinkerpop.Features

Description

A model derived from TinkerPop's Graph.Features. See | https://tinkerpop.apache.org/javadocs/current/core/org/apache/tinkerpop/gremlin/structure/Graph.Features.html | | An interface that represents the capabilities of a Graph implementation. | By default all methods of features return true and it is up to implementers to disable feature they don't support. | Users should check features prior to using various functions of TinkerPop to help ensure code portability across implementations. | For example, a common usage would be to check if a graph supports transactions prior to calling the commit method on Graph.tx().

Synopsis

Documentation

data DataTypeFeatures Source #

Base interface for features that relate to supporting different data types.

Constructors

DataTypeFeatures 

Fields

data EdgeFeatures Source #

Features that are related to Edge operations.

Constructors

EdgeFeatures 

Fields

data EdgePropertyFeatures Source #

Features that are related to Edge Property objects.

data ElementFeatures Source #

Features that are related to Element objects.

Constructors

ElementFeatures 

Fields

data ExtraFeatures m Source #

Additional features which are needed for the complete specification of language constraints in Hydra, above and beyond TinkerPop Graph.Features

Constructors

ExtraFeatures 

data Features Source #

An interface that represents the capabilities of a Graph implementation. By default all methods of features return true and it is up to implementers to disable feature they don't support. Users should check features prior to using various functions of TinkerPop to help ensure code portability across implementations. For example, a common usage would be to check if a graph supports transactions prior to calling the commit method on Graph.tx(). | | As an additional notice to Graph Providers, feature methods will be used by the test suite to determine which tests will be ignored and which will be executed, therefore proper setting of these features is essential to maximizing the amount of testing performed by the suite. Further note, that these methods may be called by the TinkerPop core code to determine what operations may be appropriately executed which will have impact on features utilized by users.

Constructors

Features 

Fields

data GraphFeatures Source #

Features specific to a operations of a graph.

Constructors

GraphFeatures 

Fields

data PropertyFeatures Source #

A base interface for Edge or Vertex Property features.

Constructors

PropertyFeatures 

Fields

data VertexFeatures Source #

Features that are related to Vertex operations.

Constructors

VertexFeatures 

Fields

data VertexPropertyFeatures Source #

Features that are related to Vertex Property objects.