Package org.neo4j.cypherdsl.core
Interface ExposesCall.AsFunction
-
- All Known Subinterfaces:
StatementBuilder.OngoingStandaloneCallWithArguments
,StatementBuilder.OngoingStandaloneCallWithoutArguments
- Enclosing interface:
- ExposesCall<T>
public static interface ExposesCall.AsFunction
Interface to allow creating an expression instead of a statement from an ongoing definition. To make this generate valid Cypher the stored procedure in question must be a valid function.- Since:
- 2020.1.2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @NotNull Expression
asFunction()
@NotNull Expression
asFunction(boolean distinct)
-
-
-
Method Detail
-
asFunction
@NotNull @Contract(pure=true) default @NotNull Expression asFunction()
- Returns:
- A function invocation that can be used as an expression, for example as a property or inside a condition.
-
asFunction
@NotNull @Contract(pure=true) @NotNull Expression asFunction(boolean distinct)
- Parameters:
distinct
- Set to true for adding theDISTINCT
for any of the aggregating functions.- Returns:
- A distinct function invocation that can be used as an expression, for example as a property or inside a condition.
- Since:
- 2021.2.2
-
-