Package org.neo4j.cypherdsl.core
Interface ExposesSubqueryCall
-
- All Known Subinterfaces:
LoadCSVStatementBuilder,StatementBuilder,StatementBuilder.OngoingInQueryCallWithReturnFields,StatementBuilder.OngoingReading,StatementBuilder.OngoingReadingAndWith,StatementBuilder.OngoingReadingAndWithWithSkip,StatementBuilder.OngoingReadingAndWithWithWhereAndOrder,StatementBuilder.OngoingReadingWithoutWhere,StatementBuilder.OngoingReadingWithWhere,StatementBuilder.OngoingStandaloneCallWithReturnFields,StatementBuilder.OrderableOngoingReadingAndWith,StatementBuilder.OrderableOngoingReadingAndWithWithoutWhere,StatementBuilder.OrderableOngoingReadingAndWithWithWhere
@API(status=EXPERIMENTAL, since="2020.1.2") @Neo4jVersion(minimum="4.0.0") public interface ExposesSubqueryCallThis exposes a call method taking in a statement that represents a valid, correlated subquery.- Since:
- 2020.1.2
- Author:
- Michael J. Simons
- Neo4j version required
- 4.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StatementBuilder.OngoingReadingWithoutWherecall(Statement statement)Thesubqueryparameter must be a valid subquery.default StatementBuilder.OngoingReadingWithoutWherecall(Statement statement, String... imports)Thesubqueryparameter must be a valid subquery.StatementBuilder.OngoingReadingWithoutWherecall(Statement statement, IdentifiableElement... imports)Thesubqueryparameter must be a valid subquery.
-
-
-
Method Detail
-
call
@NotNull @CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere call(Statement statement)
Thesubqueryparameter must be a valid subquery.- must end with a RETURN clause
- cannot refer to variables from the enclosing query
- cannot return variables with the same names as variables in the enclosing query
- All variables that are returned from a subquery are afterwards available in the enclosing query
- Parameters:
statement- The statement representing the subquery.- Returns:
- An ongoing reading
-
call
@NotNull @CheckReturnValue default StatementBuilder.OngoingReadingWithoutWhere call(Statement statement, String... imports)
Thesubqueryparameter must be a valid subquery.- must end with a RETURN clause
- cannot refer to variables from the enclosing query
- cannot return variables with the same names as variables in the enclosing query
- All variables that are returned from a subquery are afterwards available in the enclosing query
- Parameters:
statement- The statement representing the subquery.imports- Additional things that should be imported into the subquery.- Returns:
- An ongoing reading
- Since:
- 2021.3.0
-
call
@NotNull @CheckReturnValue StatementBuilder.OngoingReadingWithoutWhere call(Statement statement, IdentifiableElement... imports)
Thesubqueryparameter must be a valid subquery.- must end with a RETURN clause
- cannot refer to variables from the enclosing query
- cannot return variables with the same names as variables in the enclosing query
- All variables that are returned from a subquery are afterwards available in the enclosing query
- Parameters:
statement- The statement representing the subquery.imports- Additional things that should be imported into the subquery.aliased expressionswill automatically imported twice (once as WITH a, then WITH a AS alias).- Returns:
- An ongoing reading
- Since:
- 2021.3.0
-
-