Interface CypherExpression
- All Known Subinterfaces:
BooleanCypherExpression,ListCypherExpression,MatchClause,UnwindIterator
- All Known Implementing Classes:
AliasedExpression,AllLabelsExpression,CountLargerThanZeroExpression,CypherVar,EdgeMatchClause,EqualityExpression,EXISTSExpression,FirstLabelExpression,GetItemExpression,KeysExpression,LiteralExpression,MarkerExpression,MembershipExpression,NodeMatchClause,PathMatchClause,PropertyAccessExpression,PropertyAccessWithVarExpression,TripleMapExpression,TypeExpression,UnwindIteratorImpl,VariableIDExpression,VariableLabelExpression
public interface CypherExpression
This interface represents a generic Cypher Expression. As per the grammar defining expressions
in Figure 4 here: https://arxiv.org/pdf/1802.09984.pdf
Thus, a variable, a function call, accessing a property value, etc. are Cypher expressions
-
Method Summary
Modifier and TypeMethodDescriptiongetVars()Returns a list of the [global] Cypher Variables used within the expressionvoidvisit(CypherExpressionVisitor visitor) accepts aCypherExpressionVisitorand propagates the visit recursively when required.
-
Method Details
-
getVars
Returns a list of the [global] Cypher Variables used within the expression -
visit
accepts aCypherExpressionVisitorand propagates the visit recursively when required.
-