Uses of Annotation Interface
org.neo4j.cypherdsl.core.annotations.CheckReturnValue
-
Uses of CheckReturnValue in org.neo4j.cypherdsl.core
Modifier and TypeMethodDescriptionReduction.OngoingDefinitionWithReducer.accumulateOn
(Expression accumulator) Adds an additional condition to the existing conditions, connected by 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.StatementBuilder.OngoingMatchAndReturnWithOrder.and
(@NotNull Expression expression) Adds another expression to the list of order items.StatementBuilder.OngoingReadingAndWithWithWhereAndOrder.and
(@NotNull Expression expression) Adds another expression to the list of order items.@NotNull StatementBuilder.OngoingReading
Adds anAS
part that allows to define an alias for the iterable being unwound.default @NotNull StatementBuilder.OngoingReading
StatementBuilder.OngoingUnwind.as
(SymbolicName variable) Reuse an existing symbolic name.StatementBuilder.OngoingOrderDefinition.ascending()
Specifies ascending order and jumps back to defining the match and return statement.StatementBuilder.TerminalOngoingOrderDefinition.ascending()
Specifies ascending order and jumps back to defining the match and return statement.Starts defining a procedure call of the procedure with the given qualified name.default @NotNull ExposesSubqueryCall.BuildableSubquery
Thesubquery
parameter must be a valid subquery.default @NotNull ExposesSubqueryCall.BuildableSubquery
Thesubquery
parameter must be a valid subquery.ExposesSubqueryCall.call
(Statement statement, IdentifiableElement... imports) Thesubquery
parameter must be a valid sub-query.default @NotNull ExposesSubqueryCall.BuildableSubquery
ExposesSubqueryCall.callInTransactions
(Statement statement) Starts building a new sub-query from aCALL ... IN TRANSACTIONS
clausedefault @NotNull ExposesSubqueryCall.BuildableSubquery
ExposesSubqueryCall.callInTransactions
(Statement statement, Integer rows) Creates a subquery running in its own transactions.default @NotNull ExposesSubqueryCall.BuildableSubquery
ExposesSubqueryCall.callInTransactions
(Statement statement, Integer rows, String... imports) Creates a subquery running in its own transactions.ExposesSubqueryCall.callInTransactions
(Statement statement, Integer rows, IdentifiableElement... imports) Creates a subquery running in its own transactions.default @NotNull ExposesSubqueryCall.BuildableSubquery
ExposesSubqueryCall.callInTransactions
(Statement statement, String... imports) Creates a subquery running in its own transactions.ExposesSubqueryCall.callRawCypher
(String rawCypher, Object... args) Starts building a new sub-query from a raw Cypher string that might also have arguments as supported throughCypher.raw(String, Object...)
.ExposesCreate.create
(Collection<? extends PatternElement> pattern) ExposesCreate.create
(PatternElement... pattern) default @NotNull StatementBuilder.OngoingUpdate
Renders aDELETE
clause targeting the given variables.@NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.delete
(Collection<? extends Expression> expressions) Creates a delete step with one or more expressions to be deleted.@NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.delete
(Expression... expressions) Creates a delete step with one or more expressions to be deleted.default @NotNull StatementBuilder.OngoingUpdate
Renders aDELETE
clause targeting the given variables.StatementBuilder.OngoingOrderDefinition.descending()
Specifies descending order and jumps back to defining the match and return statement.StatementBuilder.TerminalOngoingOrderDefinition.descending()
Specifies descending order and jumps back to defining the match and return statement.default @NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.detachDelete
(String... variables) Renders aDETACH DELETE
clause targeting the given variables.@NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.detachDelete
(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACH
to remove relationships.@NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.detachDelete
(Expression... expressions) Starts building a delete step that will useDETACH
to remove relationships.default @NotNull StatementBuilder.OngoingUpdate
StatementBuilder.ExposesDelete.detachDelete
(Named... variables) Renders aDETACH DELETE
clause targeting the given variables.@NotNull Case
Case.CaseEnding.elseDefault
(Expression defaultExpression) Ends this case expression with a default expression to evaluate.ListComprehension.OngoingDefinitionWithVariable.in
(Expression list) Create a list comprehension past on a literal list.Predicates.OngoingListBasedPredicateFunction.in
(Expression list) @NotNull Reduction.OngoingDefinitionWithList
Reduction.OngoingDefinitionWithVariable.in
(Expression list) Limits the number of returned records.StatementBuilder.ExposesLimit.limit
(Expression expression) Limits the number of returned records.Limits the number of returned records.StatementBuilder.TerminalExposesLimit.limit
(Expression expression) Limits the number of returned records.Reduction.OngoingDefinitionWithList.map
(Expression mapper) ExposesMatch.match
(boolean optional, PatternElement... pattern) Adds (another)MATCH
clause.ExposesMatch.match
(Collection<? extends PatternElement> pattern) Adds (another)MATCH
clause.ExposesMatch.match
(PatternElement... pattern) Adds (another)MATCH
clause.ExposesMerge.merge
(PatternElement... pattern) StatementBuilder.ExposesSet.mutate
(Expression target, Expression properties) Creates a+=
operation.default @NotNull StatementBuilder.BuildableMatchAndUpdate
StatementBuilder.ExposesSet.mutate
(Named variable, Expression properties) Creates a+=
operation.StatementBuilder.OngoingMergeAction.mutate
(Expression target, Expression properties) Creates a+=
operation.default @NotNull StatementBuilder.BuildableOngoingMergeAction
StatementBuilder.OngoingMergeAction.mutate
(Named variable, Expression properties) Creates a+=
operation.@NotNull ExposesRelationships
<RelationshipChain> Turns the pattern into a named chain of relationships.@NotNull ExposesRelationships
<RelationshipChain> RelationshipPattern.named
(SymbolicName name) Turns the pattern into a named chain of relationships.@NotNull StatementBuilder.OngoingMergeAction
StatementBuilder.ExposesMergeAction.onCreate()
This allows to specify the action that should happen when the merge clause lead to the creation of a new pattern.@NotNull StatementBuilder.OngoingMergeAction
StatementBuilder.ExposesMergeAction.onMatch()
This allows to specify the action that should happen when the pattern of the merge clause already existed and matched.ExposesMatch.optionalMatch
(Collection<? extends PatternElement> pattern) Adds (another) optionalMATCH
clause.ExposesMatch.optionalMatch
(PatternElement... pattern) Adds (another) optionalMATCH
clause.Adds an additional condition to the existing conditions, connected by 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.StatementBuilder.ExposesOrderBy.orderBy
(Collection<SortItem> sortItem) Order the result set by one or moresort items
.StatementBuilder.ExposesOrderBy.orderBy
(@NotNull Expression expression) Order the result set by an expression.Order the result set by one or moresort items
.StatementBuilder.TerminalExposesOrderBy.orderBy
(Collection<SortItem> sortItem) Order the result set by one or moresort items
.StatementBuilder.TerminalExposesOrderBy.orderBy
(@NotNull Expression expression) Order the result set by an expression.Order the result set by one or moresort items
.StatementBuilder.ExposesSetAndRemove.remove
(Collection<Property> properties) CreatesSET
clause for removing the enumerated propertiesCreatesSET
clause for removing the given labels from a node.StatementBuilder.ExposesSetAndRemove.remove
(Node node, Collection<String> labels) CreatesSET
clause for removing the given labels from a node.CreatesSET
clause for removing the enumerated propertiesCreates theRETURN
clause.ExposesReturning.returning
(Collection<? extends Expression> expressions) Create a match that returns one or more expressions.ExposesReturning.returning
(Expression... expressions) Create a match that returns one or more expressions.Creates theRETURN
clause.ExposesReturning.returningDistinct
(String... variables) Creates aRETURN
clause containing theDISTINCT
keyword.ExposesReturning.returningDistinct
(Collection<? extends Expression> expressions) Creates aRETURN
clause returning the distinct set of one or more expressions.ExposesReturning.returningDistinct
(Expression... expressions) Creates aRETURN
clause returning the distinct set of one or more expressions.ExposesReturning.returningDistinct
(Named... variables) Creates aRETURN
clause containing theDISTINCT
keyword.ExposesReturning.returningRaw
(Expression rawExpression) Creates aRETURN
clause from a raw Cypher expression created viaCypher.raw(String, Object...)
.StatementBuilder.ExposesSet.set
(Collection<? extends Expression> expressions) Adds aSET
clause to the statement.StatementBuilder.ExposesSet.set
(Expression... expressions) Adds aSET
clause to the statement.default @NotNull StatementBuilder.BuildableMatchAndUpdate
StatementBuilder.ExposesSet.set
(Named variable, Expression expression) Adds aSET
clause to the statement, modifying the given named thing with an expression.CreatesSET
clause for setting the given labels to a node.StatementBuilder.ExposesSetLabel.set
(Node node, Collection<String> labels) CreatesSET
clause for setting the given labels to a node.StatementBuilder.OngoingMergeAction.set
(Collection<? extends Expression> expressions) Adds aSET
clause to the statement.StatementBuilder.OngoingMergeAction.set
(Expression... expressions) Adds aSET
clause to the statement.default @NotNull StatementBuilder.BuildableOngoingMergeAction
StatementBuilder.OngoingMergeAction.set
(Named variable, Expression expression) Adds aSET
clause to the statement, modifying the given named thing with an expression.Adds a skip clause, skipping the given number of records.StatementBuilder.ExposesSkip.skip
(Expression expression) Adds a skip clause.Adds a skip clause, skipping the given number of records.StatementBuilder.TerminalExposesSkip.skip
(Expression expression) Adds a skip clause.@NotNull Case.CaseEnding
Case.OngoingWhenThen.then
(Expression expression) Ends thisWHEN
block with an expression.default StatementBuilder.OngoingUnwind
Starts building a newUNWIND
clause.default StatementBuilder.OngoingUnwind
ExposesUnwind.unwind
(Expression... expressions) Starts building a newUNWIND
clause.ExposesHints.usingIndex
(Property... properties) Applies an INDEX hint for one or more properties.ExposesHints.usingIndexSeek
(Property... properties) Applies an INDEX SEEL hint for one or more properties.ExposesHints.usingJoinOn
(Node... nodes) Applies a JOIN hint on one or more nodes.ExposesHints.usingJoinOn
(SymbolicName... names) Applies a JOIN hint on one or more nodes identified by their names.Applies a SCAN hint on a node.@NotNull Case.OngoingWhenThen
Case.CaseEnding.when
(Expression expression) Adds a newWHEN
block.@NotNull Case.OngoingWhenThen
Case.when
(Expression nextExpression) Creates a new case/when expression with an additionalWHEN
block.Adds a where clause to this fragement.default T
ExposesWhere.where
(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.Adds aWHERE
clause to this comprehension.Adds aWHERE
clause to the inner statement of the pattern comprehensiondefault @NotNull PatternComprehension.OngoingDefinitionWithPatternAndWhere
PatternComprehension.OngoingDefinitionWithPattern.where
(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to the ongoing definitionAdds a where clause to this match.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithWhere
StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere.where
(@NotNull RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
Starts a with clause by passing variables to it.ExposesWith.with
(Collection<IdentifiableElement> elements) Create a match that returns one or more identifiable elements.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
ExposesWith.with
(IdentifiableElement... elements) Create a match that returns one or more identifiable elements.ExposesCall.ExposesWithArgs.withArgs
(Expression... arguments) Adds the given arguments to the ongoing call and procedes.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
ExposesWith.withDistinct
(String... variables) Create a match that returns the distinct set of one or more identifiable elements.ExposesWith.withDistinct
(Collection<IdentifiableElement> expressions) Create a match that returns the distinct set of one or more expressions.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere
ExposesWith.withDistinct
(IdentifiableElement... elements) Create a match that returns the distinct set of one or more identifiable elements.default T
Adds the given items to the YIELD clause of the generated call.ExposesCall.ExposesYield.yield
(AliasedExpression... aliasedResultFields) Adds the given items to the YIELD clause of the generated call and uses new aliases in the generated call.default T
Adds the given items to the YIELD clause of the generated call.ExposesCall.ExposesYield.yield
(SymbolicName... resultFields) Adds the given items to the YIELD clause of the generated call.