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 Type
    Method
    Description
    <T> T
    Dispatches to the visit method of visitor matching this condition's concrete type (double dispatch), returning whatever the visitor produces for it.
  • Method Details

    • accept

      <T> T accept(CypherConditionVisitor<T> visitor)
      Dispatches to the visit method of visitor matching this condition's concrete type (double dispatch), returning whatever the visitor produces for it.