Uses of Interface
org.neo4j.cypherdsl.core.PatternElement
-
Uses of PatternElement in org.neo4j.cypherdsl.core
Modifier and TypeInterfaceDescriptioninterface
See NodePattern.interface
See RelationshipPattern.interface
A shared, public interface forrelationships
andchains of relationships
.Modifier and TypeClassDescriptionfinal class
Represents a named path.class
This is the base class for all nodes.final class
Deprecated, for removal: This API element is subject to removal in a future version.final class
static final class
Synthetic element for the Cypher-DSL AST.class
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 TypeMethodDescriptiondefault @NotNull PatternElement
RelationshipPattern.quantify
(QuantifiedPathPattern.Quantifier quantifier) Quantifies the pattern.default @NotNull PatternElement
RelationshipPattern.quantifyRelationship
(QuantifiedPathPattern.Quantifier quantifier) Quantifies the relationship.default @NotNull PatternElement
PatternElement.where
(@Nullable Expression predicate) Creates a newPatternElement
which including an additional filter.@NotNull PatternElement
QuantifiedPathPattern.TargetPattern.where
(@Nullable Expression predicate) @NotNull PatternElement
QuantifiedPathPattern.where
(@Nullable Expression predicate) Modifier and TypeMethodDescriptionstatic @NotNull CountExpression
Cypher.count
(PatternElement requiredPattern, PatternElement... patternElement) Creates a COUNT sub-query expressions from at least one pattern.static @NotNull CountExpression
Expressions.count
(PatternElement requiredPattern, PatternElement... patternElement) Deprecated.Creates a COUNT sub-query expressions from at least one pattern.@NotNull CountExpression
SubqueryExpressionBuilder.count
(PatternElement requiredPattern, PatternElement... patternElement) Creates a COUNT sub-query expressions from at least one pattern.Cypher.create
(PatternElement... pattern) Starts building a statement based on aCREATE
clause.ExposesCreate.create
(PatternElement... pattern) static FunctionInvocation
FunctionInvocation.create
(FunctionInvocation.FunctionDefinition definition, PatternElement pattern) Creates a new function invocation for a pattern element.@NotNull NamedPath
NamedPath.OngoingDefinitionWithName.definedBy
(PatternElement patternElement) Create a new named path based on aPatternElement
single node.static Condition
Cypher.exists
(PatternElement pattern) Creates a new condition via an existential sub-query based on the list of patternsstatic Condition
Predicates.exists
(PatternElement pattern) Deprecated.Creates a new condition via an existential sub-query based on the list of patternsCypher.match
(boolean optional, PatternElement... pattern) Starts building a statement based on a match clause.Cypher.match
(PatternElement... pattern) Starts building a statement based on a match clause.ExposesMatch.match
(boolean optional, PatternElement... pattern) Adds (another)MATCH
clause.ExposesMatch.match
(PatternElement... pattern) Adds (another)MATCH
clause.Cypher.merge
(PatternElement... pattern) Starts building a statement based on aMERGE
clause.ExposesMerge.merge
(PatternElement... pattern) static ParenthesizedPathPattern
ParenthesizedPathPattern.of
(PatternElement patternElement) Deprecated, for removal: This API element is subject to removal in a future version.Cypher.optionalMatch
(PatternElement... pattern) Prepares an optional match statement.ExposesMatch.optionalMatch
(PatternElement... pattern) Adds (another) optionalMATCH
clause.Modifier and TypeMethodDescriptionstatic CountExpression
Cypher.count
(List<PatternElement> pattern, @Nullable Where where) Creates a COUNT expression based on a list of patternstatic CountExpression
Expressions.count
(List<PatternElement> pattern, @Nullable Where where) Deprecated.Creates a COUNT expression based on a list of patternstatic @NotNull Clause
Clauses.create
(List<PatternElement> patternElements) Builds aCREATE
clause.Cypher.create
(Collection<? extends PatternElement> pattern) Starts building a statement based on aCREATE
clause.ExposesCreate.create
(Collection<? extends PatternElement> pattern) 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
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 @NotNull Clause
Clauses.match
(boolean optional, List<PatternElement> patternElements, @Nullable Where optionalWhere, @Nullable List<Hint> optionalHints) Builds aMATCH
clause.Cypher.match
(boolean optional, Collection<? extends PatternElement> pattern) Starts building a statement based on a match clause.Cypher.match
(Collection<? extends PatternElement> pattern) Starts building a statement based on a match clause.ExposesMatch.match
(Collection<? extends PatternElement> pattern) Adds (another)MATCH
clause.static @NotNull Clause
Clauses.merge
(List<PatternElement> patternElements, @Nullable List<MergeAction> mergeActions) Builds aMERGE
clause.Cypher.merge
(Collection<? extends PatternElement> pattern) Starts building a statement based on aMERGE
clause.Cypher.optionalMatch
(Collection<? extends PatternElement> pattern) Prepares an optional match statement.ExposesMatch.optionalMatch
(Collection<? extends PatternElement> pattern) Adds (another) optionalMATCH
clause.
QuantifiedPathPattern
instead.