public class CypherQuery extends Object
| Constructor and Description |
|---|
CypherQuery(Neo4jPersistentEntity<?> entity,
Neo4jTemplate template,
boolean useLabels,
Parameters<?,?> parameters) |
| Modifier and Type | Method and Description |
|---|---|
void |
addPart(Part part,
PersistentPropertyPath<Neo4jPersistentProperty> path) |
PartInfo |
getPartInfo(int parameterIndex) |
Map<Parameter,Object> |
resolveParameters(Map<Parameter,Object> parameters) |
void |
setIsCountQuery(boolean isCountQuery) |
String |
toQueryString()
Returns a Cypher query without adding any sort or pagination.
|
String |
toQueryString(Pageable pageable)
|
String |
toQueryString(Sort sort)
Returns a Cypher query adding the given
Sort. |
String |
toString() |
org.springframework.data.neo4j.repository.query.CypherQueryDefinition |
withSort(Sort sorts) |
public CypherQuery(Neo4jPersistentEntity<?> entity, Neo4jTemplate template, boolean useLabels, Parameters<?,?> parameters)
public void addPart(Part part, PersistentPropertyPath<Neo4jPersistentProperty> path)
public org.springframework.data.neo4j.repository.query.CypherQueryDefinition withSort(Sort sorts)
public PartInfo getPartInfo(int parameterIndex)
public String toQueryString()
public String toQueryString(Sort sort)
Sort.public String toQueryString(Pageable pageable)
Pageable and applying the Sort
contained in it.public void setIsCountQuery(boolean isCountQuery)
Copyright © 2011-2015–2015 Pivotal Software, Inc.. All rights reserved.