validate

abstract fun validate(cypher: String, parameters: Map<String, Any?>): Rule.Violation?

Validate the cypher and parameters.

Return

Violation if the cypher and parameters violate the Rule, otherwise null

Parameters

cypher

a Cypher query

parameters

the cypher parameters