Uses of Interface
org.neo4j.cypherdsl.core.Condition
Packages that use Condition
-
Uses of Condition in org.neo4j.cypherdsl.core
Classes in org.neo4j.cypherdsl.core that implement ConditionModifier and TypeClassDescriptionfinal classA concrete condition representing a comparision between two expressions.final classA constant condition that is either always true or false.final classAn existential sub-query can only be used in a where clause.final classA condition checking for the presence of labels on nodes or types on relationships.Methods in org.neo4j.cypherdsl.core that return ConditionModifier and TypeMethodDescriptiondefault ConditionAdds a condition to this condition with an AND.default ConditionCondition.and(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an AND.default ConditionExpression.asCondition()Transform this expression into a condition.ForeignAdapter.asCondition()Adapts a foreign expression into a Cypher-DSLCondition.final ConditionRelationshipBase.asCondition()RelationshipChain.asCondition()RelationshipPattern.asCondition()Transform this pattern into a 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 ConditionCypher.contains(Expression lhs, Expression rhs) Creates a condition that checks whether thelhscontains with therhs.default ConditionExpression.contains(Expression expression) Creates a condition that checks whether thisexpressioncontains thatexpression.static ConditionCypher.endsWith(Expression lhs, Expression rhs) Creates a condition that checks whether thelhsends with therhs.default ConditionExpression.endsWith(Expression expression) Creates a condition that checks whether thisexpressionends with thatexpression.default ConditionExpression.eq(Expression rhs) An alias forExpression.isEqualTo(Expression).static ConditionCypher.exists(List<PatternElement> pattern) Creates a new condition via an existential sub-query based on the list of patterns.static ConditionCypher.exists(List<PatternElement> pattern, Where where) Creates a new condition via an existential sub-query based on the list of patterns and an optionalwhere-clause.static ConditionCypher.exists(PatternElement pattern) Creates a new condition via an existential sub-query based on the list of patterns.static ConditionCreates a new condition based on a function invocation for theexists()function.static ConditionCypher.exists(RelationshipPattern pattern) Creates a new condition based on a function invocation for theexists()function.static ConditionCypher.exists(Statement statement, IdentifiableElement... imports) Creates a new condition via an existential sub-query.static ConditionCypher.gt(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is greater than the right hand side.default ConditionExpression.gt(Expression rhs) Creates alhs > rhscondition.static ConditionCypher.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 ConditionExpression.gte(Expression rhs) Creates alhs >= rhscondition.A condition that checks for the presence of labels on a node.Node.hasLabels(LabelExpression labels) Deprecated, for removal: This API element is subject to removal in a future version.Returns a condition that checks for the presence of a label expression on a node.static ConditionCypher.hasLabelsOrType(SymbolicName symbolicName, String... labelsOrTypes) Checks if a given object has the given labels or types.static ConditionCypher.hasLabelsOrType(SymbolicName symbolicName, Labels labels) Checks if a given object has the given labels or types.default ConditionExpression.hasSize(Expression expectedSize) Takes theExpression.size()expresssions and compares it for equality with the parameterexpectedSize.default ConditionExpression.in(Expression haystack) Creates aINoperation for this expression and thatexpression.static ConditionCypher.includesAll(Expression lhs, Expression rhs) Creates a condition that checks whether thelhsincludes all elements present inrhs.default ConditionExpression.includesAll(Expression rhs) Creates a condition that checks whether thisexpressionincludes all elements ofrhs.static ConditionCypher.includesAny(Expression lhs, Expression rhs) Creates a condition that checks whether thelhsincludes any element present inrhs.default ConditionExpression.includesAny(Expression rhs) Creates a condition that checks whether thisexpressionincludes any element ofrhs.static ConditionCypher.isEmpty(Expression expression) Creates a new condition based on a function invocation for theisEmpty()function.default ConditionExpression.isEmpty()Creates a condition that evaluates to true if this expression is empty.static ConditionCypher.isEqualTo(Expression lhs, Expression rhs) Creates a condition that matches if both expressions are equals according to=.default ConditionExpression.isEqualTo(Expression rhs) Creates alhs = rhscondition.Creates a new condition whether this node is equal to otherNode.static ConditionCypher.isFalse()Creates a |false condition.default ConditionExpression.isFalse()Creates a condition that checks whether thisexpressionis false.static ConditionCypher.isNotEqualTo(Expression lhs, Expression rhs) Creates a condition that matches if both expressions are equals according to<>.default ConditionExpression.isNotEqualTo(Expression rhs) Creates alhs <> rhscondition.Node.isNotEqualTo(Node otherNode) Creates a new condition whether this node is not equal to otherNode.static ConditionCypher.isNotNull(Expression expression) Creates a condition that checks whether theexpressionis not null.default ConditionExpression.isNotNull()Creates aIS NOT NULLoperation for thisexpression.Node.isNotNull()Creates a new condition based on this node whether it is not null.static ConditionCypher.isNull(Expression expression) Creates a condition that checks whether theexpressionis null.default ConditionExpression.isNull()Creates aIS NULLoperation for thisexpression.Node.isNull()Creates a new condition based on this node whether it is null.static ConditionCypher.isTrue()Creates a |true condition.default ConditionExpression.isTrue()Creates a condition that checks whether thisexpressionis true.static ConditionCypher.lt(Expression lhs, Expression rhs) Creates a condition that matches if the left hand side is less than the right hand side.default ConditionExpression.lt(Expression rhs) Creates alhs < rhscondition.static ConditionCypher.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 ConditionExpression.lte(Expression rhs) Creates alhs <= rhscondition.static ConditionCypher.matches(Expression lhs, Expression rhs) Creates a condition that matches if the right hand side is a regular expression that matches the left hand side via=~.default ConditionCreates a condition that checks whether thisexpressionmatches the givenpattern.default ConditionExpression.matches(Expression expression) Creates a condition that checks whether thisexpressionmatches thatexpression.static ConditionCypher.matching(RelationshipPattern relationshipPattern) A condition testing if the given relationship pattern matches.default ConditionExpression.ne(Expression rhs) An alias forExpression.isNotEqualTo(Expression).static ConditionCypher.noCondition()Creates a placeholder condition which is not rendered in the final statement but is useful while chaining conditions together.Comparison.not()default ConditionCondition.not()Negates this condition.static ConditionNegates the given condition.static ConditionCypher.not(RelationshipPattern pattern) Negates the given pattern element: The pattern must not matche to be included in the result.default ConditionAdds a condition to this condition with an OR.default ConditionCondition.or(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an OR.static ConditionCypher.startsWith(Expression lhs, Expression rhs) Creates a condition that checks whether thelhsstarts with therhs.default ConditionExpression.startsWith(Expression expression) Creates a condition that checks whether thisexpressionstarts with thatexpression.Returns the final list based predicate function.default ConditionAdds a condition to this condition with a XOR.default ConditionCondition.xor(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with a XOR.Methods in org.neo4j.cypherdsl.core with parameters of type ConditionModifier and TypeMethodDescriptiondefault ConditionAdds a condition to this condition with an AND.Adds a condition to the existing conditions, connected by anAND.static ConditionNegates the given condition.default ConditionAdds a condition to this condition with an OR.Adds a condition to the existing conditions, connected by anOR.Creates a newcount expressionwith additional conditions.Adds a where clause to this fragement.Adds aWHEREclause to this comprehension.Returns the final list based predicate function.Adds aWHEREclause to the inner statement of the pattern comprehension.Adds a where clause to this match.default ConditionAdds a condition to this condition with a XOR.
Node.hasLabels(Labels)