Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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.
DataTypeFeatures | |
|
Instances
Read DataTypeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features | |
Show DataTypeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> DataTypeFeatures -> ShowS # show :: DataTypeFeatures -> String # showList :: [DataTypeFeatures] -> ShowS # | |
Eq DataTypeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: DataTypeFeatures -> DataTypeFeatures -> Bool # (/=) :: DataTypeFeatures -> DataTypeFeatures -> Bool # | |
Ord DataTypeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features compare :: DataTypeFeatures -> DataTypeFeatures -> Ordering # (<) :: DataTypeFeatures -> DataTypeFeatures -> Bool # (<=) :: DataTypeFeatures -> DataTypeFeatures -> Bool # (>) :: DataTypeFeatures -> DataTypeFeatures -> Bool # (>=) :: DataTypeFeatures -> DataTypeFeatures -> Bool # max :: DataTypeFeatures -> DataTypeFeatures -> DataTypeFeatures # min :: DataTypeFeatures -> DataTypeFeatures -> DataTypeFeatures # |
data EdgeFeatures Source #
Features that are related to Edge operations.
EdgeFeatures | |
|
Instances
Read EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features readsPrec :: Int -> ReadS EdgeFeatures # readList :: ReadS [EdgeFeatures] # | |
Show EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> EdgeFeatures -> ShowS # show :: EdgeFeatures -> String # showList :: [EdgeFeatures] -> ShowS # | |
Eq EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: EdgeFeatures -> EdgeFeatures -> Bool # (/=) :: EdgeFeatures -> EdgeFeatures -> Bool # | |
Ord EdgeFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features 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.
Instances
Read EdgePropertyFeatures Source # | |
Show EdgePropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> EdgePropertyFeatures -> ShowS # show :: EdgePropertyFeatures -> String # showList :: [EdgePropertyFeatures] -> ShowS # | |
Eq EdgePropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # (/=) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # | |
Ord EdgePropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features compare :: EdgePropertyFeatures -> EdgePropertyFeatures -> Ordering # (<) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # (<=) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # (>) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # (>=) :: EdgePropertyFeatures -> EdgePropertyFeatures -> Bool # max :: EdgePropertyFeatures -> EdgePropertyFeatures -> EdgePropertyFeatures # min :: EdgePropertyFeatures -> EdgePropertyFeatures -> EdgePropertyFeatures # |
data ElementFeatures Source #
Features that are related to Element objects.
ElementFeatures | |
|
Instances
Read ElementFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features | |
Show ElementFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> ElementFeatures -> ShowS # show :: ElementFeatures -> String # showList :: [ElementFeatures] -> ShowS # | |
Eq ElementFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: ElementFeatures -> ElementFeatures -> Bool # (/=) :: ElementFeatures -> ElementFeatures -> Bool # | |
Ord ElementFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features compare :: ElementFeatures -> ElementFeatures -> Ordering # (<) :: ElementFeatures -> ElementFeatures -> Bool # (<=) :: ElementFeatures -> ElementFeatures -> Bool # (>) :: ElementFeatures -> ElementFeatures -> Bool # (>=) :: ElementFeatures -> ElementFeatures -> Bool # max :: ElementFeatures -> ElementFeatures -> ElementFeatures # min :: ElementFeatures -> ElementFeatures -> ElementFeatures # |
data ExtraFeatures m Source #
Additional features which are needed for the complete specification of language constraints in Hydra, above and beyond TinkerPop Graph.Features
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.
Features | |
|
data GraphFeatures Source #
Features specific to a operations of a graph.
GraphFeatures | |
|
Instances
Read GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features readsPrec :: Int -> ReadS GraphFeatures # readList :: ReadS [GraphFeatures] # | |
Show GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> GraphFeatures -> ShowS # show :: GraphFeatures -> String # showList :: [GraphFeatures] -> ShowS # | |
Eq GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: GraphFeatures -> GraphFeatures -> Bool # (/=) :: GraphFeatures -> GraphFeatures -> Bool # | |
Ord GraphFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features 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.
PropertyFeatures | |
|
Instances
Read PropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features | |
Show PropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> PropertyFeatures -> ShowS # show :: PropertyFeatures -> String # showList :: [PropertyFeatures] -> ShowS # | |
Eq PropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: PropertyFeatures -> PropertyFeatures -> Bool # (/=) :: PropertyFeatures -> PropertyFeatures -> Bool # | |
Ord PropertyFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features compare :: PropertyFeatures -> PropertyFeatures -> Ordering # (<) :: PropertyFeatures -> PropertyFeatures -> Bool # (<=) :: PropertyFeatures -> PropertyFeatures -> Bool # (>) :: PropertyFeatures -> PropertyFeatures -> Bool # (>=) :: PropertyFeatures -> PropertyFeatures -> Bool # max :: PropertyFeatures -> PropertyFeatures -> PropertyFeatures # min :: PropertyFeatures -> PropertyFeatures -> PropertyFeatures # |
data VariableFeatures Source #
Features for Graph.Variables.
VariableFeatures | |
|
Instances
Read VariableFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features | |
Show VariableFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> VariableFeatures -> ShowS # show :: VariableFeatures -> String # showList :: [VariableFeatures] -> ShowS # | |
Eq VariableFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: VariableFeatures -> VariableFeatures -> Bool # (/=) :: VariableFeatures -> VariableFeatures -> Bool # | |
Ord VariableFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features compare :: VariableFeatures -> VariableFeatures -> Ordering # (<) :: VariableFeatures -> VariableFeatures -> Bool # (<=) :: VariableFeatures -> VariableFeatures -> Bool # (>) :: VariableFeatures -> VariableFeatures -> Bool # (>=) :: VariableFeatures -> VariableFeatures -> Bool # max :: VariableFeatures -> VariableFeatures -> VariableFeatures # min :: VariableFeatures -> VariableFeatures -> VariableFeatures # |
data VertexFeatures Source #
Features that are related to Vertex operations.
VertexFeatures | |
|
Instances
Read VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features readsPrec :: Int -> ReadS VertexFeatures # readList :: ReadS [VertexFeatures] # | |
Show VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features showsPrec :: Int -> VertexFeatures -> ShowS # show :: VertexFeatures -> String # showList :: [VertexFeatures] -> ShowS # | |
Eq VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features (==) :: VertexFeatures -> VertexFeatures -> Bool # (/=) :: VertexFeatures -> VertexFeatures -> Bool # | |
Ord VertexFeatures Source # | |
Defined in Hydra.Ext.Tinkerpop.Features 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.
VertexPropertyFeatures | |
|