Module org.neo4j.cypherdsl.core
Package org.neo4j.cypherdsl.core
Interface ListComprehension.OngoingDefinitionWithoutReturn
- All Known Subinterfaces:
ListComprehension.OngoingDefinitionWithList
- Enclosing class:
- ListComprehension
public static interface ListComprehension.OngoingDefinitionWithoutReturn
Provides the final step of defining a list comprehension.
-
Method Summary
Modifier and TypeMethodDescriptionDefines an emptyRETURNclause.returning(Expression... listDefinition) Defines theRETURNclause.default ListComprehensionDefines theRETURNclause.
-
Method Details
-
returning
Defines theRETURNclause.- Parameters:
variables- the elements to be returned from the list- Returns:
- the final definition of the list comprehension
- See Also:
-
returning
Defines theRETURNclause.- Parameters:
listDefinition- defines the elements to be returned from the pattern- Returns:
- the final definition of the list comprehension
-
returning
ListComprehension returning()Defines an emptyRETURNclause.- Returns:
- returns the list comprehension as is, without a WHERE and returning each element of the original list
-