Class FilteredQuery

java.lang.Object
org.neo4j.ogm.session.request.FilteredQuery

public class FilteredQuery extends Object
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 Details

    • setReturnClause

      public void setReturnClause(String returnClause)
      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

      public String statement()
      Returns:
      Cypher consisting of the query body to which the return clause (if any) is appended.
    • parameters

      public Map<String,Object> parameters()
      Returns:
      the parameters to be used with this query