Package org.neo4j.cypherdsl.core
Interface ExposesLogicalOperators<T>
-
- Type Parameters:
T
- The type being returned after the new condition has been chained
- All Known Subinterfaces:
PatternComprehension.OngoingDefinitionWithPatternAndWhere
,StatementBuilder.OngoingReadingWithWhere
,StatementBuilder.OrderableOngoingReadingAndWithWithWhere
public interface ExposesLogicalOperators<T>
A step exposing logical operatorsand
andor
after awhere
clause.- Since:
- 1.1
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description T
and(Condition condition)
Adds an additional condition to the existing conditions, connected by an and.default T
and(RelationshipPattern pathPattern)
Adds an additional condition based on a path pattern to the existing conditions, connected by an and.T
or(Condition condition)
Adds an additional condition to the existing conditions, connected by an or.default T
or(RelationshipPattern pathPattern)
Adds an additional condition based on a path pattern to the existing conditions, connected by an or.
-
-
-
Method Detail
-
and
T and(Condition condition)
Adds an additional condition to the existing conditions, connected by an and. Existing conditions will be logically grouped by using()
in the statement if previous conditions used another logical operator.- Parameters:
condition
- An additional condition- Returns:
- The ongoing definition of a match
-
and
default T and(RelationshipPattern pathPattern)
Adds an additional condition based on a path pattern to the existing conditions, connected by an and. Existing conditions will be logically grouped by using()
in the statement if previous conditions used another logical operator.- Parameters:
pathPattern
- An additional pattern to include in the conditions- Returns:
- The ongoing definition of a match
-
or
T or(Condition condition)
Adds an additional condition to the existing conditions, connected by an or. Existing conditions will be logically grouped by using()
in the statement if previous conditions used another logical operator.- Parameters:
condition
- An additional condition- Returns:
- The ongoing definition of a match
-
or
default T or(RelationshipPattern pathPattern)
Adds an additional condition based on a path pattern to the existing conditions, connected by an or. Existing conditions will be logically grouped by using()
in the statement if previous conditions used another logical operator.- Parameters:
pathPattern
- An additional pattern to include in the conditions- Returns:
- The ongoing definition of a match
-
-