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()
DerivedQueryDefinitiongetBasePart in interface DerivedQueryDefinitionpublic List<CypherFilter> getCypherFilters()
DerivedQueryDefinitiongetCypherFilters in interface DerivedQueryDefinitionpublic void addPart(Part part, org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
DerivedQueryDefinitionaddPart in interface DerivedQueryDefinitionpart - 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.