Uses of Interface
org.neo4j.cypherdsl.core.RelationshipPattern
-
Uses of RelationshipPattern in org.neo4j.cypherdsl.core
Modifier and TypeInterfaceDescriptioninterface
ExposesPatternLengthAccessors<T extends RelationshipPattern>
This interface is used to derive new relationship patterns from existingrelationships
orchains of relationships
with new lengths (min, max or unbounded) configured.interface
ExposesRelationships<T extends RelationshipPattern & ExposesPatternLengthAccessors<?>>
A marker interface for things that expose methods to create new relationships to other elements.Modifier and TypeClassDescriptionclass
RelationshipBase<S extends NodeBase<?>,
E extends NodeBase<?>, SELF extends RelationshipBase<S, E, SELF>> This is the base class for all relationships.final class
Represents a chain of relationships.Modifier and TypeMethodDescription@NotNull RelationshipPattern
RelationshipBase.quantifyRelationship
(QuantifiedPathPattern.Quantifier newQuantifier) @NotNull RelationshipPattern
RelationshipChain.quantifyRelationship
(QuantifiedPathPattern.Quantifier quantifier) Modifier and TypeMethodDescriptiondefault @NotNull Condition
Condition.and
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an AND.default T
ExposesLogicalOperators.and
(RelationshipPattern pathPattern) Adds an additional condition based on a path pattern to the existing conditions, connected by an and.static @NotNull Condition
Cypher.exists
(RelationshipPattern pattern) 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 @NotNull PatternComprehension.OngoingDefinitionWithPattern
Cypher.listBasedOn
(RelationshipPattern relationshipPattern) Creates a list comprehension starting with aRelationship
or achain of relationships
.static Condition
Conditions.matching
(RelationshipPattern relationshipPattern) Deprecated.static Condition
Cypher.matching
(RelationshipPattern relationshipPattern) 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
Cypher.not
(@NotNull RelationshipPattern pattern) Negates the given pattern element: The pattern must not matched to be included in the result.default @NotNull Condition
Condition.or
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with an OR.default T
ExposesLogicalOperators.or
(RelationshipPattern pathPattern) Adds an additional condition based on a path pattern to the existing conditions, connected by an or.static @NotNull FunctionInvocation
Cypher.size
(RelationshipPattern pattern) Creates a function invocation for thesize()
function.static @NotNull FunctionInvocation
Functions.size
(RelationshipPattern pattern) Deprecated.Creates a function invocation for thesize()
function.default T
ExposesWhere.where
(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.default @NotNull PatternComprehension.OngoingDefinitionWithPatternAndWhere
PatternComprehension.OngoingDefinitionWithPattern.where
(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to the ongoing definitiondefault @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithWhere
StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere.where
(@NotNull RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.default @NotNull Condition
Condition.xor
(RelationshipPattern pathPattern) Adds a condition based on a path pattern to this condition with a XOR.