Module org.neo4j.cypherdsl.core
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 operators
and and or after a where clause.- Since:
- 1.1
- Author:
- Michael J. Simons
-
Method Summary
Modifier and TypeMethodDescriptionAdds an additional condition to the existing conditions, connected by an and.default Tand(RelationshipPattern pathPattern) Adds an additional condition based on a path pattern to the existing conditions, connected by an and.Adds an additional condition to the existing conditions, connected by an or.default Tor(RelationshipPattern pathPattern) Adds an additional condition based on a path pattern to the existing conditions, connected by an or.
-
Method Details
-
and
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
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
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
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
-