Interface ValidationContext
-
public interface ValidationContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ValidationContext.Context
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description java.util.Set<java.lang.String>
availableLabelsOrTypes()
java.util.Set<java.lang.String>
availableProperties()
ValidationContext.Context
context()
default java.util.List<SemanticErrors.SemanticError>
errors()
static ValidationContext
forNodes(GraphStore graphStore)
static ValidationContext
forRelationships(GraphStore graphStore)
default void
validate()
default ValidationContext
withError(SemanticErrors.SemanticError error)
-
-
-
Method Detail
-
context
ValidationContext.Context context()
-
availableProperties
java.util.Set<java.lang.String> availableProperties()
-
availableLabelsOrTypes
java.util.Set<java.lang.String> availableLabelsOrTypes()
-
errors
@Default default java.util.List<SemanticErrors.SemanticError> errors()
-
withError
@Derived default ValidationContext withError(SemanticErrors.SemanticError error)
-
validate
@Derived default void validate() throws SemanticErrors
- Throws:
SemanticErrors
-
forNodes
static ValidationContext forNodes(GraphStore graphStore)
-
forRelationships
static ValidationContext forRelationships(GraphStore graphStore)
-
-