public class CypherFinderQuery extends Object implements DerivedQueryDefinition
DerivedQueryDefinition
that builds a Cypher query.Constructor and Description |
---|
CypherFinderQuery(Class<?> entityType,
Part basePart) |
Modifier and Type | Method and Description |
---|---|
void |
addPart(Part part,
org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
Add a part as a parameter to the graph query.
|
Part |
getBasePart()
Get the base part i.e. the first parameter of the graph query.
|
List<CypherFilter> |
getCypherFilters()
Gets all cypher filters for this query
|
public Part getBasePart()
DerivedQueryDefinition
getBasePart
in interface DerivedQueryDefinition
public List<CypherFilter> getCypherFilters()
DerivedQueryDefinition
getCypherFilters
in interface DerivedQueryDefinition
public void addPart(Part part, org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
DerivedQueryDefinition
addPart
in interface DerivedQueryDefinition
part
- the Part to be addedbooleanOperator
- the BooleanOperator
to be used when appending the parameter to the query.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.