Package org.neo4j.cypherdsl.core
Class CompoundCondition
- java.lang.Object
-
- org.neo4j.cypherdsl.core.CompoundCondition
-
- All Implemented Interfaces:
Condition
,Expression
,Visitable
@API(status=INTERNAL, since="1.0") public final class CompoundCondition extends java.lang.Object implements Condition
A condition that consists of one or twoconditions
connected by a Logical connective (operator).- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(Visitor visitor)
Condition
and(Condition condition)
Adds a condition to this condition with an AND.Condition
or(Condition condition)
Adds a condition to this condition with an OR.Condition
xor(Condition condition)
Adds a condition to this condition with a XOR.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.cypherdsl.core.Expression
add, as, as, ascending, concat, contains, descending, divide, endsWith, eq, gt, gte, in, isEmpty, isEqualTo, isFalse, isNotEqualTo, isNotNull, isNull, isTrue, lt, lte, matches, matches, multiply, ne, pow, property, remainder, startsWith, subtract
-
-
-
-
Method Detail
-
and
public Condition and(Condition condition)
Description copied from interface:Condition
Adds a condition to this condition with an AND.
-
or
public Condition or(Condition condition)
Description copied from interface:Condition
Adds a condition to this condition with an OR.
-
xor
public Condition xor(Condition condition)
Description copied from interface:Condition
Adds a condition to this condition with a XOR.
-
-