public class DerivedQueryBuilder extends Object
Constructor and Description |
---|
DerivedQueryBuilder(Class<?> entityType,
Part basePart) |
Modifier and Type | Method and Description |
---|---|
void |
addPart(DerivedQueryBuilder fromBuilder,
org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
Add criteria from an intermediate builder to the query
|
void |
addPart(Part part,
org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
Add a part as a parameter to the graph query.
|
DerivedQueryDefinition |
buildQuery()
Builds the final query
|
public void addPart(Part part, org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
part
- the Part to be addedbooleanOperator
- the BooleanOperator
to be used when appending the parameter to the query.public void addPart(DerivedQueryBuilder fromBuilder, org.neo4j.ogm.cypher.BooleanOperator booleanOperator)
fromBuilder
- the intermediate builderbooleanOperator
- the BooleanOperator
to be used when appending the criteria to the querypublic DerivedQueryDefinition buildQuery()
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.