Uses of Interface
org.neo4j.cypherdsl.core.Condition
-
Uses of Condition in org.neo4j.cypherdsl.core
Modifier and TypeClassDescriptionfinal class
A concrete condition representing a comparision between two expressions.final class
A constant condition that is either always true or false.final class
An existential sub-query can only be used in a where clause.final class
A condition checking for the presence of labels on nodes or types on relationships.Modifier and TypeMethodDescriptiondefault @NotNull Condition
Adds a condition to this condition with an AND.default @NotNull Condition
Condition.and
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an AND.default @NotNull Condition
Expression.asCondition()
Transform this expression into a condition.@NotNull Condition
ForeignAdapter.asCondition()
Adapts a foreign expression into a Cypher-DSLCondition
.final @NotNull Condition
RelationshipBase.asCondition()
@NotNull Condition
RelationshipChain.asCondition()
@NotNull Condition
RelationshipPattern.asCondition()
Transform this pattern into a condition.@NotNull Condition
StatementBuilder.ExposesExistentialSubqueryCall.asCondition()
This can be used against a 4.x database to turn this ongoing match statement into a condition to be used in an existential subquery.static Condition
Cypher.contains
(Expression lhs, Expression rhs) Creates a condition that checks whether thelhs
contains with therhs
.default @NotNull Condition
Expression.contains
(Expression expression) Creates a condition that checks whether thisexpression
contains thatexpression
.static Condition
Cypher.endsWith
(Expression lhs, Expression rhs) Creates a condition that checks whether thelhs
ends with therhs
.default @NotNull Condition
Expression.endsWith
(Expression expression) Creates a condition that checks whether thisexpression
ends with thatexpression
.default @NotNull Condition
Expression.eq
(Expression rhs) An alias forExpression.isEqualTo(Expression)
.static Condition
Cypher.exists
(List<PatternElement> pattern) Creates a new condition via an existential sub-query based on the list of patternsstatic Condition
Cypher.exists
(List<PatternElement> pattern, @Nullable Where where) Creates a new condition via an existential sub-query based on the list of patterns and an optionalwhere-clause
.static Condition
Cypher.exists
(PatternElement pattern) Creates a new condition via an existential sub-query based on the list of patternsstatic @NotNull Condition
Creates a new condition based on a function invocation for theexists()
function.static @NotNull Condition
Cypher.exists
(RelationshipPattern pattern) Creates a new condition based on a function invocation for theexists()
function.static Condition
Cypher.exists
(Statement statement, IdentifiableElement... imports) Creates a new condition via an existential sub-query.static Condition
Predicates.exists
(List<PatternElement> pattern) Deprecated.Creates a new condition via an existential sub-query based on the list of patternsstatic Condition
Predicates.exists
(List<PatternElement> pattern, @Nullable Where where) Deprecated.Creates a new condition via an existential sub-query based on the list of patterns and an optionalwhere-clause
.static Condition
Predicates.exists
(PatternElement pattern) Deprecated.Creates a new condition via an existential sub-query based on the list of patternsstatic @NotNull Condition
Deprecated.Creates a new condition based on a function invocation for theexists()
function.static @NotNull Condition
Predicates.exists
(RelationshipPattern pattern) Deprecated.Creates a new condition based on a function invocation for theexists()
function.static Condition
Predicates.exists
(Statement statement, IdentifiableElement... imports) Deprecated.Creates a new condition via an existential sub-query.static Condition
Cypher.gt
(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is greater than the right hand side..default @NotNull Condition
Expression.gt
(Expression rhs) Creates alhs > rhs
condition.static Condition
Cypher.gte
(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is greater than or equal the right hand side..default @NotNull Condition
Expression.gte
(Expression rhs) Creates alhs >= rhs
condition.@NotNull Condition
A condition that checks for the presence of labels on a node.static Condition
Conditions.hasLabelsOrType
(SymbolicName symbolicName, String... labelsOrTypes) Deprecated.static Condition
Cypher.hasLabelsOrType
(SymbolicName symbolicName, String... labelsOrTypes) default @NotNull Condition
Expression.hasSize
(Expression expectedSize) Takes theExpression.size()
expresssions and compares it for equality with the parameterexpectedSize
.default @NotNull Condition
Expression.in
(Expression haystack) Creates aIN
operation for this expression and thatexpression
.static Condition
Cypher.includesAll
(Expression lhs, Expression rhs) Creates a condition that checks whether thelhs
includes all elements present inrhs
.default @NotNull Condition
Expression.includesAll
(Expression rhs) Creates a condition that checks whether thisexpression
includes all elements ofrhs
.static Condition
Cypher.includesAny
(Expression lhs, Expression rhs) Creates a condition that checks whether thelhs
includes any element present inrhs
.default @NotNull Condition
Expression.includesAny
(Expression rhs) Creates a condition that checks whether thisexpression
includes any element ofrhs
.static Condition
Cypher.isEmpty
(Expression expression) Creates a new condition based on a function invocation for theisEmpty()
function.default @NotNull Condition
Expression.isEmpty()
Creates a condition that evaluates to true if this expression is empty.static Condition
Predicates.isEmpty
(Expression e) Deprecated.Creates a new condition based on a function invocation for theisEmpty()
function.static Condition
Cypher.isEqualTo
(Expression lhs, Expression rhs) Creates a condition that matches if both expressions are equals according to=
.default @NotNull Condition
Expression.isEqualTo
(Expression rhs) Creates alhs = rhs
condition.@NotNull Condition
Creates a new condition whether this node is equal to otherNode.static Condition
Conditions.isFalse()
Deprecated.static Condition
Cypher.isFalse()
default @NotNull Condition
Expression.isFalse()
Creates a condition that checks whether thisexpression
is false.static Condition
Cypher.isNotEqualTo
(Expression lhs, Expression rhs) Creates a condition that matches if both expressions are equals according to<>
.default @NotNull Condition
Expression.isNotEqualTo
(Expression rhs) Creates alhs <> rhs
condition.@NotNull Condition
Node.isNotEqualTo
(Node otherNode) Creates a new condition whether this node is not equal to otherNode.static Condition
Cypher.isNotNull
(Expression expression) Creates a condition that checks whether theexpression
is not null.default @NotNull Condition
Expression.isNotNull()
Creates aIS NOT NULL
operation for thisexpression
.@NotNull Condition
Node.isNotNull()
Creates a new condition based on this node whether it is not null.static Condition
Cypher.isNull
(Expression expression) Creates a condition that checks whether theexpression
is null.default @NotNull Condition
Expression.isNull()
Creates aIS NULL
operation for thisexpression
.@NotNull Condition
Node.isNull()
Creates a new condition based on this node whether it is null.static Condition
Conditions.isTrue()
Deprecated.static Condition
Cypher.isTrue()
default @NotNull Condition
Expression.isTrue()
Creates a condition that checks whether thisexpression
is true.static Condition
Cypher.lt
(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is less than the right hand side..default @NotNull Condition
Expression.lt
(Expression rhs) Creates alhs < rhs
condition.static Condition
Cypher.lte
(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is less than or equal the right hand side..default @NotNull Condition
Expression.lte
(Expression rhs) Creates alhs <= rhs
condition.static Condition
Cypher.matches
(Expression lhs, Expression rhs) Creates a condition that matches if the right hand side is a regular expression that matches the the left hand side via=~
.default @NotNull Condition
Creates a condition that checks whether thisexpression
matches the givenpattern
.default @NotNull Condition
Expression.matches
(Expression expression) Creates a condition that checks whether thisexpression
matches thatexpression
.static Condition
Conditions.matching
(RelationshipPattern relationshipPattern) Deprecated.static Condition
Cypher.matching
(RelationshipPattern relationshipPattern) default @NotNull Condition
Expression.ne
(Expression rhs) An alias forExpression.isNotEqualTo(Expression)
.static @NotNull Condition
Conditions.noCondition()
Deprecated.Creates a placeholder condition which is not rendered in the final statement but is useful while chaining conditions together.static @NotNull Condition
Cypher.noCondition()
Creates a placeholder condition which is not rendered in the final statement but is useful while chaining conditions together.@NotNull Condition
Comparison.not()
default @NotNull Condition
Condition.not()
Negates this condition.static @NotNull Condition
Deprecated.Negates the given condition.static @NotNull Condition
Conditions.not
(@NotNull RelationshipPattern pattern) Deprecated.Negates the given pattern element: The pattern must not matched to be included in the result.static @NotNull Condition
Negates the given condition.static @NotNull Condition
Cypher.not
(@NotNull RelationshipPattern pattern) Negates the given pattern element: The pattern must not matched to be included in the result.default @NotNull Condition
Adds a condition to this condition with an OR.default @NotNull Condition
Condition.or
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an OR.static Condition
Cypher.startsWith
(Expression lhs, Expression rhs) Creates a condition that checks whether thelhs
starts with therhs
.default @NotNull Condition
Expression.startsWith
(Expression expression) Creates a condition that checks whether thisexpression
starts with thatexpression
.@NotNull Condition
default @NotNull Condition
Adds a condition to this condition with a XOR.default @NotNull Condition
Condition.xor
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with a XOR.Modifier and TypeMethodDescriptiondefault @NotNull Condition
Adds a condition to this condition with an AND.Adds an additional condition to the existing conditions, connected by an and.static @NotNull Condition
Deprecated.Negates the given condition.static @NotNull Condition
Negates the given condition.default @NotNull Condition
Adds a condition to this condition with an OR.Adds an additional condition to the existing conditions, connected by an or.@NotNull CountExpression
Creates a newcount expression
with additional conditionsAdds a where clause to this fragement.Adds aWHERE
clause to this comprehension.Adds aWHERE
clause to the inner statement of the pattern comprehension@NotNull Condition
Adds a where clause to this match.default @NotNull Condition
Adds a condition to this condition with a XOR.