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 ExposesReturning
Return 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.OngoingReadingAndReturn
returning(java.lang.String... variables)
Creates theRETURN
clause.StatementBuilder.OngoingReadingAndReturn
returning(Expression... expressions)
Create a match that returns one or more expressions.default StatementBuilder.OngoingReadingAndReturn
returning(Named... variables)
Creates theRETURN
clause.default StatementBuilder.OngoingReadingAndReturn
returningDistinct(java.lang.String... variables)
Creates aRETURN
clause containing theDISTINCT
keyword.StatementBuilder.OngoingReadingAndReturn
returningDistinct(Expression... expressions)
Create a match that returns the distinct set of one or more expressions.default StatementBuilder.OngoingReadingAndReturn
returningDistinct(Named... variables)
Creates aRETURN
clause containing theDISTINCT
keyword.
-
-
-
Method Detail
-
returning
default StatementBuilder.OngoingReadingAndReturn returning(java.lang.String... variables)
Creates theRETURN
clause.- 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 theRETURN
clause.- 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 aRETURN
clause containing theDISTINCT
keyword.- 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 aRETURN
clause containing theDISTINCT
keyword.- 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
-
-