Package org.neo4j.cypherdsl.core
Interface ExposesReturning
-
- All Known Subinterfaces:
ProcedureCall.OngoingInQueryCallWithReturnFields,ProcedureCall.OngoingStandaloneCallWithReturnFields,StatementBuilder,StatementBuilder.BuildableMatchAndUpdate,StatementBuilder.BuildableOngoingMergeAction,StatementBuilder.OngoingMatchAndUpdate,StatementBuilder.OngoingMerge,StatementBuilder.OngoingReading,StatementBuilder.OngoingReadingAndWith,StatementBuilder.OngoingReadingAndWithWithSkip,StatementBuilder.OngoingReadingAndWithWithWhereAndOrder,StatementBuilder.OngoingReadingWithoutWhere,StatementBuilder.OngoingReadingWithWhere,StatementBuilder.OngoingUpdate,StatementBuilder.OrderableOngoingReadingAndWith,StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere,StatementBuilder.OrderableOngoingReadingAndWithWithWhere
@API(status=EXPERIMENTAL, since="1.0") public interface ExposesReturningReturn part of a statement.- Since:
- 1.0
- Author:
- Michael J. Simons
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatementBuilder.OngoingReadingAndReturnreturning(java.lang.String... variables)Creates theRETURNclause.StatementBuilder.OngoingReadingAndReturnreturning(Expression... expressions)Create a match that returns one or more expressions.default StatementBuilder.OngoingReadingAndReturnreturning(Named... variables)Creates theRETURNclause.default StatementBuilder.OngoingReadingAndReturnreturningDistinct(java.lang.String... variables)Creates aRETURNclause containing theDISTINCTkeyword.StatementBuilder.OngoingReadingAndReturnreturningDistinct(Expression... expressions)Create a match that returns the distinct set of one or more expressions.default StatementBuilder.OngoingReadingAndReturnreturningDistinct(Named... variables)Creates aRETURNclause containing theDISTINCTkeyword.
-
-
-
Method Detail
-
returning
default StatementBuilder.OngoingReadingAndReturn returning(java.lang.String... variables)
Creates theRETURNclause.- Parameters:
variables- The named things to return- Returns:
- A build step with a defined list of things to return.
-
returning
default StatementBuilder.OngoingReadingAndReturn returning(Named... variables)
Creates theRETURNclause.- Parameters:
variables- The named things to return- Returns:
- A build step with a defined list of things to return.
-
returning
StatementBuilder.OngoingReadingAndReturn returning(Expression... expressions)
Create a match that returns one or more expressions.- Parameters:
expressions- The expressions to be returned. Must not be null and be at least one expression.- Returns:
- A match that can be build now
-
returningDistinct
default StatementBuilder.OngoingReadingAndReturn returningDistinct(java.lang.String... variables)
Creates aRETURNclause containing theDISTINCTkeyword.- Parameters:
variables- The named things to return- Returns:
- A build step with a defined list of things to return.
-
returningDistinct
default StatementBuilder.OngoingReadingAndReturn returningDistinct(Named... variables)
Creates aRETURNclause containing theDISTINCTkeyword.- Parameters:
variables- The named things to return- Returns:
- A build step with a defined list of things to return.
-
returningDistinct
StatementBuilder.OngoingReadingAndReturn returningDistinct(Expression... expressions)
Create a match that returns the distinct set of one or more expressions.- Parameters:
expressions- The expressions to be returned. Must not be null and be at least one expression.- Returns:
- A match that can be build now
-
-