public class CypherQuery extends Object
Constructor and Description |
---|
CypherQuery(Neo4jPersistentEntity<?> entity,
Neo4jTemplate template,
boolean useLabels) |
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)
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-2014-2014 Pivotal. All Rights Reserved.