Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Hydra.Langs.Tinkerpop.Validate
Description
Utilities for validating property graphs against property graph schemas
Documentation
validateEdge :: (t -> v -> Maybe String) -> (v -> String) -> Maybe (v -> Maybe VertexLabel) -> EdgeType t -> Edge v -> Maybe String Source #
validateElement :: (t -> v -> Maybe String) -> (v -> String) -> Maybe (v -> Maybe VertexLabel) -> ElementType t -> Element v -> Maybe String Source #
validateGraph :: Ord v => (t -> v -> Maybe String) -> (v -> String) -> GraphSchema t -> Graph v -> Maybe String Source #
validateProperties :: (t -> v -> Maybe String) -> [PropertyType t] -> Map PropertyKey v -> Maybe String Source #
validateVertex :: (t -> v -> Maybe String) -> (v -> String) -> VertexType t -> Vertex v -> Maybe String Source #
vertexLabelMismatch :: VertexLabel -> VertexLabel -> String Source #