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 ConditionA condition that consists of one or twoconditionsconnected 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 voidaccept(Visitor visitor)Conditionand(Condition condition)Adds a condition to this condition with an AND.Conditionor(Condition condition)Adds a condition to this condition with an OR.Conditionxor(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:ConditionAdds a condition to this condition with an AND.
-
or
public Condition or(Condition condition)
Description copied from interface:ConditionAdds a condition to this condition with an OR.
-
xor
public Condition xor(Condition condition)
Description copied from interface:ConditionAdds a condition to this condition with a XOR.
-
-