Interface CypherCondition
- All Known Implementing Classes:
AndCondition,AnyLabelCondition,ComparisonCondition,LabelCondition,NotCondition,OrCondition,PropertyCondition,RawCondition,TypeCondition,XorCondition
public interface CypherCondition
Represents a condition extracted from a Cypher query.
Conditions can come from:
- Node labels: (n:Person) → LabelCondition
- Node properties: (n {name: "Alice"}) → PropertyCondition
- Edge types: -[:KNOWS]-> → TypeCondition
- Edge properties: -[:KNOWS {since: 2020}]-> → PropertyCondition
- WHERE clause: WHERE n.age > 25 → ComparisonCondition
- Logical operators: AND, OR, NOT
-
Method Summary
Modifier and TypeMethodDescription<T> Taccept(CypherConditionVisitor<T> visitor) Dispatches to thevisitmethod ofvisitormatching this condition's concrete type (double dispatch), returning whatever the visitor produces for it.
-
Method Details
-
accept
Dispatches to thevisitmethod ofvisitormatching this condition's concrete type (double dispatch), returning whatever the visitor produces for it.
-