Uses of Annotation Interface
org.neo4j.cypherdsl.core.annotations.CheckReturnValue
Packages that use CheckReturnValue
-
Uses of CheckReturnValue in org.neo4j.cypherdsl.core
Methods in org.neo4j.cypherdsl.core with annotations of type CheckReturnValueModifier and TypeMethodDescriptionReduction.OngoingDefinitionWithReducer.accumulateOn(Expression accumulator) Adds an additional condition to the existing conditions, connected by an and.default TExposesLogicalOperators.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.OngoingReadingAdds anASpart that allows to define an alias for the iterable being unwound.default @NotNull StatementBuilder.OngoingReadingStatementBuilder.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.Thesubqueryparameter must be a valid subquery.Thesubqueryparameter must be a valid subquery.ExposesSubqueryCall.call(Statement statement, IdentifiableElement... imports) Thesubqueryparameter must be a valid sub-query.default @NotNull ExposesSubqueryCall.BuildableSubqueryExposesSubqueryCall.callInTransactions(Statement statement) Starts building a new sub-query from aCALL ... IN TRANSACTIONSclausedefault @NotNull ExposesSubqueryCall.BuildableSubqueryExposesSubqueryCall.callInTransactions(Statement statement, Integer rows) Creates a subquery running in its own transactions.default @NotNull ExposesSubqueryCall.BuildableSubqueryExposesSubqueryCall.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.BuildableSubqueryExposesSubqueryCall.callInTransactions(Statement statement, String... imports) Creates a subquery running in its own transactions.ExposesCreate.create(Collection<? extends PatternElement> pattern) ExposesCreate.create(PatternElement... pattern) default @NotNull StatementBuilder.OngoingUpdateRenders aDELETEclause targeting the given variables.@NotNull StatementBuilder.OngoingUpdateStatementBuilder.ExposesDelete.delete(Collection<? extends Expression> expressions) Creates a delete step with one or more expressions to be deleted.@NotNull StatementBuilder.OngoingUpdateStatementBuilder.ExposesDelete.delete(Expression... expressions) Creates a delete step with one or more expressions to be deleted.default @NotNull StatementBuilder.OngoingUpdateRenders aDELETEclause 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.OngoingUpdateStatementBuilder.ExposesDelete.detachDelete(String... variables) Renders aDETACH DELETEclause targeting the given variables.@NotNull StatementBuilder.OngoingUpdateStatementBuilder.ExposesDelete.detachDelete(Collection<? extends Expression> expressions) Starts building a delete step that will useDETACHto remove relationships.@NotNull StatementBuilder.OngoingUpdateStatementBuilder.ExposesDelete.detachDelete(Expression... expressions) Starts building a delete step that will useDETACHto remove relationships.default @NotNull StatementBuilder.OngoingUpdateStatementBuilder.ExposesDelete.detachDelete(Named... variables) Renders aDETACH DELETEclause targeting the given variables.@NotNull CaseCase.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.OngoingDefinitionWithListReduction.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)MATCHclause.ExposesMatch.match(Collection<? extends PatternElement> pattern) Adds (another)MATCHclause.ExposesMatch.match(PatternElement... pattern) Adds (another)MATCHclause.ExposesMerge.merge(PatternElement... pattern) StatementBuilder.ExposesSet.mutate(Expression target, Expression properties) Creates a+=operation.default @NotNull StatementBuilder.BuildableMatchAndUpdateStatementBuilder.ExposesSet.mutate(Named variable, Expression properties) Creates a+=operation.StatementBuilder.OngoingMergeAction.mutate(Expression target, Expression properties) Creates a+=operation.default @NotNull StatementBuilder.BuildableOngoingMergeActionStatementBuilder.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.OngoingMergeActionStatementBuilder.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.OngoingMergeActionStatementBuilder.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) optionalMATCHclause.ExposesMatch.optionalMatch(PatternElement... pattern) Adds (another) optionalMATCHclause.Adds an additional condition to the existing conditions, connected by an or.default TExposesLogicalOperators.or(RelationshipPattern pathPattern) Adds an additional condition based on a path pattern to the existing conditions, connected by an or.StatementBuilder.ExposesOrderBy.orderBy(@NotNull Expression expression) Order the result set by an expression.StatementBuilder.ExposesOrderBy.orderBy(Collection<SortItem> sortItem) Order the result set by one or moresort items.Order the result set by one or moresort items.StatementBuilder.TerminalExposesOrderBy.orderBy(@NotNull Expression expression) Order the result set by an expression.StatementBuilder.TerminalExposesOrderBy.orderBy(Collection<SortItem> sortItem) Order the result set by one or moresort items.Order the result set by one or moresort items.StatementBuilder.ExposesSetAndRemove.remove(Collection<Property> properties) CreatesSETclause for removing the enumerated propertiesCreatesSETclause for removing the given labels from a node.StatementBuilder.ExposesSetAndRemove.remove(Node node, Collection<String> labels) CreatesSETclause for removing the given labels from a node.CreatesSETclause for removing the enumerated propertiesCreates theRETURNclause.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 theRETURNclause.ExposesReturning.returningDistinct(String... variables) Creates aRETURNclause containing theDISTINCTkeyword.ExposesReturning.returningDistinct(Collection<? extends Expression> expressions) Creates aRETURNclause returning the distinct set of one or more expressions.ExposesReturning.returningDistinct(Expression... expressions) Creates aRETURNclause returning the distinct set of one or more expressions.ExposesReturning.returningDistinct(Named... variables) Creates aRETURNclause containing theDISTINCTkeyword.ExposesReturning.returningRaw(Expression rawExpression) Creates aRETURNclause from a raw Cypher expression created viaCypher.raw(String, Object...).StatementBuilder.ExposesSet.set(Collection<? extends Expression> expressions) Adds aSETclause to the statement.StatementBuilder.ExposesSet.set(Expression... expressions) Adds aSETclause to the statement.default @NotNull StatementBuilder.BuildableMatchAndUpdateStatementBuilder.ExposesSet.set(Named variable, Expression expression) Adds aSETclause to the statement, modifying the given named thing with an expression.CreatesSETclause for setting the given labels to a node.StatementBuilder.ExposesSetAndRemove.set(Node node, Collection<String> labels) CreatesSETclause for setting the given labels to a node.StatementBuilder.OngoingMergeAction.set(Collection<? extends Expression> expressions) Adds aSETclause to the statement.StatementBuilder.OngoingMergeAction.set(Expression... expressions) Adds aSETclause to the statement.default @NotNull StatementBuilder.BuildableOngoingMergeActionStatementBuilder.OngoingMergeAction.set(Named variable, Expression expression) Adds aSETclause 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.CaseEndingCase.OngoingWhenThen.then(Expression expression) Ends thisWHENblock with an expression.default StatementBuilder.OngoingUnwindStarts building a newUNWINDclause.default StatementBuilder.OngoingUnwindExposesUnwind.unwind(Expression... expressions) Starts building a newUNWINDclause.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.OngoingWhenThenCase.CaseEnding.when(Expression expression) Adds a newWHENblock.@NotNull Case.OngoingWhenThenCase.when(Expression nextExpression) Creates a new case/when expression with an additionalWHENblock.Adds a where clause to this fragement.default TExposesWhere.where(RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.Adds aWHEREclause to this comprehension.Adds aWHEREclause to the inner statement of the pattern comprehensiondefault @NotNull PatternComprehension.OngoingDefinitionWithPatternAndWherePatternComprehension.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.OrderableOngoingReadingAndWithWithWhereStatementBuilder.OrderableOngoingReadingAndWithWithoutWhere.where(@NotNull RelationshipPattern pathPattern) Adds a where clause based on a path pattern to this match.default @NotNull StatementBuilder.OrderableOngoingReadingAndWithWithoutWhereStarts 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.OrderableOngoingReadingAndWithWithoutWhereExposesWith.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.OrderableOngoingReadingAndWithWithoutWhereExposesWith.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.OrderableOngoingReadingAndWithWithoutWhereExposesWith.withDistinct(IdentifiableElement... elements) Create a match that returns the distinct set of one or more identifiable elements.default TAdds 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 TAdds 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.