Package org.neo4j.ogm.session.request
Class FilteredQuery
java.lang.Object
org.neo4j.ogm.session.request.FilteredQuery
A FilteredQuery is constructed by a
FilteredQueryBuilder
A FilteredQuery represents the MATCH clause of a cypher statement containing various WHERE predicates
The various implementing classes of DeleteStatements
,
AggregateStatements
and
QueryStatements
can set the return clause that
fits their purpose.- Author:
- vince
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setReturnClause
(String returnClause) Set the return clause to be used with the query body.
-
Method Details
-
setReturnClause
Set the return clause to be used with the query body. The same query body can be re-used in different contexts - fetch, delete, count and so on.- Parameters:
returnClause
- the return clause to be used with this query body
-
statement
- Returns:
- Cypher consisting of the query body to which the return clause (if any) is appended.
-
parameters
- Returns:
- the parameters to be used with this query
-