Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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
- data DataTypeFeatures = DataTypeFeatures {
- dataTypeFeaturesSupportsBooleanArrayValues :: Bool
- dataTypeFeaturesSupportsBooleanValues :: Bool
- dataTypeFeaturesSupportsByteArrayValues :: Bool
- dataTypeFeaturesSupportsByteValues :: Bool
- dataTypeFeaturesSupportsDoubleArrayValues :: Bool
- dataTypeFeaturesSupportsDoubleValues :: Bool
- dataTypeFeaturesSupportsFloatArrayValues :: Bool
- dataTypeFeaturesSupportsFloatValues :: Bool
- dataTypeFeaturesSupportsIntegerArrayValues :: Bool
- dataTypeFeaturesSupportsIntegerValues :: Bool
- dataTypeFeaturesSupportsLongArrayValues :: Bool
- dataTypeFeaturesSupportsLongValues :: Bool
- dataTypeFeaturesSupportsMapValues :: Bool
- dataTypeFeaturesSupportsMixedListValues :: Bool
- dataTypeFeaturesSupportsSerializableValues :: Bool
- dataTypeFeaturesSupportsStringArrayValues :: Bool
- dataTypeFeaturesSupportsStringValues :: Bool
- dataTypeFeaturesSupportsUniformListValues :: Bool
- _DataTypeFeatures :: Name
- _DataTypeFeatures_supportsBooleanArrayValues :: FieldName
- _DataTypeFeatures_supportsBooleanValues :: FieldName
- _DataTypeFeatures_supportsByteArrayValues :: FieldName
- _DataTypeFeatures_supportsByteValues :: FieldName
- _DataTypeFeatures_supportsDoubleArrayValues :: FieldName
- _DataTypeFeatures_supportsDoubleValues :: FieldName
- _DataTypeFeatures_supportsFloatArrayValues :: FieldName
- _DataTypeFeatures_supportsFloatValues :: FieldName
- _DataTypeFeatures_supportsIntegerArrayValues :: FieldName
- _DataTypeFeatures_supportsIntegerValues :: FieldName
- _DataTypeFeatures_supportsLongArrayValues :: FieldName
- _DataTypeFeatures_supportsLongValues :: FieldName
- _DataTypeFeatures_supportsMapValues :: FieldName
- _DataTypeFeatures_supportsMixedListValues :: FieldName
- _DataTypeFeatures_supportsSerializableValues :: FieldName
- _DataTypeFeatures_supportsStringArrayValues :: FieldName
- _DataTypeFeatures_supportsStringValues :: FieldName
- _DataTypeFeatures_supportsUniformListValues :: FieldName
- data EdgeFeatures = EdgeFeatures {}
- _EdgeFeatures :: Name
- _EdgeFeatures_elementFeatures :: FieldName
- _EdgeFeatures_properties :: FieldName
- _EdgeFeatures_supportsAddEdges :: FieldName
- _EdgeFeatures_supportsRemoveEdges :: FieldName
- _EdgeFeatures_supportsUpsert :: FieldName
- data EdgePropertyFeatures = EdgePropertyFeatures {}
- _EdgePropertyFeatures :: Name
- _EdgePropertyFeatures_propertyFeatures :: FieldName
- data ElementFeatures = ElementFeatures {
- elementFeaturesSupportsAddProperty :: Bool
- elementFeaturesSupportsAnyIds :: Bool
- elementFeaturesSupportsCustomIds :: Bool
- elementFeaturesSupportsNumericIds :: Bool
- elementFeaturesSupportsRemoveProperty :: Bool
- elementFeaturesSupportsStringIds :: Bool
- elementFeaturesSupportsUserSuppliedIds :: Bool
- elementFeaturesSupportsUuidIds :: Bool
- _ElementFeatures :: Name
- _ElementFeatures_supportsAddProperty :: FieldName
- _ElementFeatures_supportsAnyIds :: FieldName
- _ElementFeatures_supportsCustomIds :: FieldName
- _ElementFeatures_supportsNumericIds :: FieldName
- _ElementFeatures_supportsRemoveProperty :: FieldName
- _ElementFeatures_supportsStringIds :: FieldName
- _ElementFeatures_supportsUserSuppliedIds :: FieldName
- _ElementFeatures_supportsUuidIds :: FieldName
- data ExtraFeatures m = ExtraFeatures {
- extraFeaturesSupportsMapKey :: Type m -> Bool
- _ExtraFeatures :: Name
- _ExtraFeatures_supportsMapKey :: FieldName
- data Features = Features {}
- _Features :: Name
- _Features_edge :: FieldName
- _Features_graph :: FieldName
- _Features_vertex :: FieldName
- data GraphFeatures = GraphFeatures {
- graphFeaturesSupportsComputer :: Bool
- graphFeaturesSupportsConcurrentAccess :: Bool
- graphFeaturesSupportsIoRead :: Bool
- graphFeaturesSupportsIoWrite :: Bool
- graphFeaturesSupportsPersistence :: Bool
- graphFeaturesSupportsThreadedTransactions :: Bool
- graphFeaturesSupportsTransactions :: Bool
- graphFeaturesVariables :: VariableFeatures
- _GraphFeatures :: Name
- _GraphFeatures_supportsComputer :: FieldName
- _GraphFeatures_supportsConcurrentAccess :: FieldName
- _GraphFeatures_supportsIoRead :: FieldName
- _GraphFeatures_supportsIoWrite :: FieldName
- _GraphFeatures_supportsPersistence :: FieldName
- _GraphFeatures_supportsThreadedTransactions :: FieldName
- _GraphFeatures_supportsTransactions :: FieldName
- _GraphFeatures_variables :: FieldName
- data PropertyFeatures = PropertyFeatures {}
- _PropertyFeatures :: Name
- _PropertyFeatures_dataTypeFeatures :: FieldName
- _PropertyFeatures_supportsProperties :: FieldName
- data VariableFeatures = VariableFeatures {}
- _VariableFeatures :: Name
- _VariableFeatures_dataTypeFeatures :: FieldName
- _VariableFeatures_supportsVariables :: FieldName
- data VertexFeatures = VertexFeatures {
- vertexFeaturesElementFeatures :: ElementFeatures
- vertexFeaturesProperties :: VertexPropertyFeatures
- vertexFeaturesSupportsAddVertices :: Bool
- vertexFeaturesSupportsDuplicateMultiProperties :: Bool
- vertexFeaturesSupportsMetaProperties :: Bool
- vertexFeaturesSupportsMultiProperties :: Bool
- vertexFeaturesSupportsRemoveVertices :: Bool
- vertexFeaturesSupportsUpsert :: Bool
- _VertexFeatures :: Name
- _VertexFeatures_elementFeatures :: FieldName
- _VertexFeatures_properties :: FieldName
- _VertexFeatures_supportsAddVertices :: FieldName
- _VertexFeatures_supportsDuplicateMultiProperties :: FieldName
- _VertexFeatures_supportsMetaProperties :: FieldName
- _VertexFeatures_supportsMultiProperties :: FieldName
- _VertexFeatures_supportsRemoveVertices :: FieldName
- _VertexFeatures_supportsUpsert :: FieldName
- data VertexPropertyFeatures = VertexPropertyFeatures {}
- _VertexPropertyFeatures :: Name
- _VertexPropertyFeatures_dataTypeFeatures :: FieldName
- _VertexPropertyFeatures_propertyFeatures :: FieldName
- _VertexPropertyFeatures_elementFeatures :: FieldName
- _VertexPropertyFeatures_supportsRemove :: FieldName
Documentation
data DataTypeFeatures Source #
Base interface for features that relate to supporting different data types.
Constructors
DataTypeFeatures | |
Fields
|
Instances
data EdgeFeatures Source #
Features that are related to Edge operations.
Constructors
EdgeFeatures | |
Fields
|
Instances
Read EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods readsPrec :: Int -> ReadS EdgeFeatures # readList :: ReadS [EdgeFeatures] # | |
Show EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods showsPrec :: Int -> EdgeFeatures -> ShowS # show :: EdgeFeatures -> String # showList :: [EdgeFeatures] -> ShowS # | |
Eq EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features | |
Ord EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods compare :: EdgeFeatures -> EdgeFeatures -> Ordering # (<) :: EdgeFeatures -> EdgeFeatures -> Bool # (<=) :: EdgeFeatures -> EdgeFeatures -> Bool # (>) :: EdgeFeatures -> EdgeFeatures -> Bool # (>=) :: EdgeFeatures -> EdgeFeatures -> Bool # max :: EdgeFeatures -> EdgeFeatures -> EdgeFeatures # min :: EdgeFeatures -> EdgeFeatures -> EdgeFeatures # |
_EdgeFeatures :: Name Source #
data EdgePropertyFeatures Source #
Features that are related to Edge Property objects.
Constructors
EdgePropertyFeatures | |
Instances
data ElementFeatures Source #
Features that are related to Element objects.
Constructors
ElementFeatures | |
Fields
|
Instances
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 | |
Fields
|
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
|
Instances
Read GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods readsPrec :: Int -> ReadS GraphFeatures # readList :: ReadS [GraphFeatures] # | |
Show GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods showsPrec :: Int -> GraphFeatures -> ShowS # show :: GraphFeatures -> String # showList :: [GraphFeatures] -> ShowS # | |
Eq GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods (==) :: GraphFeatures -> GraphFeatures -> Bool # (/=) :: GraphFeatures -> GraphFeatures -> Bool # | |
Ord GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods compare :: GraphFeatures -> GraphFeatures -> Ordering # (<) :: GraphFeatures -> GraphFeatures -> Bool # (<=) :: GraphFeatures -> GraphFeatures -> Bool # (>) :: GraphFeatures -> GraphFeatures -> Bool # (>=) :: GraphFeatures -> GraphFeatures -> Bool # max :: GraphFeatures -> GraphFeatures -> GraphFeatures # min :: GraphFeatures -> GraphFeatures -> GraphFeatures # |
data PropertyFeatures Source #
A base interface for Edge or Vertex Property features.
Constructors
PropertyFeatures | |
Fields
|
Instances
data VariableFeatures Source #
Features for Graph.Variables.
Constructors
VariableFeatures | |
Fields
|
Instances
data VertexFeatures Source #
Features that are related to Vertex operations.
Constructors
VertexFeatures | |
Fields
|
Instances
Read VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods readsPrec :: Int -> ReadS VertexFeatures # readList :: ReadS [VertexFeatures] # | |
Show VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods showsPrec :: Int -> VertexFeatures -> ShowS # show :: VertexFeatures -> String # showList :: [VertexFeatures] -> ShowS # | |
Eq VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods (==) :: VertexFeatures -> VertexFeatures -> Bool # (/=) :: VertexFeatures -> VertexFeatures -> Bool # | |
Ord VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features Methods compare :: VertexFeatures -> VertexFeatures -> Ordering # (<) :: VertexFeatures -> VertexFeatures -> Bool # (<=) :: VertexFeatures -> VertexFeatures -> Bool # (>) :: VertexFeatures -> VertexFeatures -> Bool # (>=) :: VertexFeatures -> VertexFeatures -> Bool # max :: VertexFeatures -> VertexFeatures -> VertexFeatures # min :: VertexFeatures -> VertexFeatures -> VertexFeatures # |
data VertexPropertyFeatures Source #
Features that are related to Vertex Property objects.
Constructors
VertexPropertyFeatures | |
Fields
|