Package org.neo4j.cypherdsl.core
Interface StatementBuilder
-
- All Superinterfaces:
ExposesCreate,ExposesMatch,ExposesMerge,ExposesReturning,ExposesUnwind
@API(status=EXPERIMENTAL, since="1.0") public interface StatementBuilder extends ExposesMatch, ExposesCreate, ExposesMerge, ExposesUnwind, ExposesReturning- Since:
- 1.0
- Author:
- Michael J. Simons, Gerrit Meier
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceStatementBuilder.BuildableStatementA statement that has all information required to be build and exposes a build method.static interfaceStatementBuilder.ExposesDeleteA step that exposes only the delete clause.static interfaceStatementBuilder.ExposesLimitA step that exposes theStatementBuilder.ExposesLimit.limit(Number)method.static interfaceStatementBuilder.ExposesOrderBySeeStatementBuilder.TerminalExposesOrderBy, but on a with clause.static interfaceStatementBuilder.ExposesSetSet part of a statement.static interfaceStatementBuilder.ExposesSetAndRemoveA step that exposes the set clause.static interfaceStatementBuilder.ExposesSkipA step that exposes theStatementBuilder.ExposesSkip.skip(Number)method.static interfaceStatementBuilder.ExposesUpdatingClauseA step providing all the supported updating clauses (DELETE, SET)static interfaceStatementBuilder.ExposesWithA step that exposes theWITHclause.static interfaceStatementBuilder.OngoingMatchAndReturnWithOrderCombines the capabilities of skip, limit and adds additional expressions to the order-by items.static interfaceStatementBuilder.OngoingMatchAndUpdateA buildable step that will create a MATCH ...static interfaceStatementBuilder.OngoingOrderDefinitionAn intermediate step while defining the order of a with clause.static interfaceStatementBuilder.OngoingReadingA match that exposesreturningand for which it is not decided whether the optional where part has been used or note.static interfaceStatementBuilder.OngoingReadingAndReturnA match that knows what to return and which is ready to be build.static interfaceStatementBuilder.OngoingReadingAndWithRepresents a reading statement ending in a with clause, potentially already having an order and not exposing order methods.static interfaceStatementBuilder.OngoingReadingAndWithWithWhereAndOrderCombines the capabilities of skip, limit and adds additional expressions to the order-by items.static interfaceStatementBuilder.OngoingReadingWithoutWhereA match that exposesreturningandwheremethods to add required information.static interfaceStatementBuilder.OngoingReadingWithWhereA match that has a non-emptywhere-part.static interfaceStatementBuilder.OngoingUnwindBuilder part for unwinding.static interfaceStatementBuilder.OngoingUpdateAn ongoing update statement that can be used to chain more update statements or add a with or return clause.static interfaceStatementBuilder.OrderableOngoingReadingAndWithstatic interfaceStatementBuilder.OrderableOngoingReadingAndWithWithoutWhereA match that knows what to pipe to the next part of a multi part query.static interfaceStatementBuilder.OrderableOngoingReadingAndWithWithWherestatic interfaceStatementBuilder.TerminalExposesLimitA step that exposes theStatementBuilder.TerminalExposesLimit.limit(Number)method.static interfaceStatementBuilder.TerminalExposesOrderByA step that exposes several methods to specify ordering.static interfaceStatementBuilder.TerminalExposesSkipA step that exposes theStatementBuilder.TerminalExposesSkip.skip(Number)method.static interfaceStatementBuilder.TerminalOngoingOrderDefinitionAn intermediate step while defining the order of a result set.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StatementBuilder.OrderableOngoingReadingAndWithwith(AliasedExpression... expressions)Allows for queries starting withwith range(1,10) as x return xor similar.-
Methods inherited from interface org.neo4j.cypherdsl.core.ExposesCreate
create
-
Methods inherited from interface org.neo4j.cypherdsl.core.ExposesMatch
match, optionalMatch
-
Methods inherited from interface org.neo4j.cypherdsl.core.ExposesMerge
merge
-
Methods inherited from interface org.neo4j.cypherdsl.core.ExposesReturning
returning, returning, returning, returningDistinct, returningDistinct, returningDistinct
-
Methods inherited from interface org.neo4j.cypherdsl.core.ExposesUnwind
unwind, unwind, unwind
-
-
-
-
Method Detail
-
with
StatementBuilder.OrderableOngoingReadingAndWith with(AliasedExpression... expressions)
Allows for queries starting withwith range(1,10) as x return xor similar.- Parameters:
expressions- The expressions to start the query with- Returns:
- An ongoing read, exposing return and further matches.
-
-