public class CypherQuery extends Object
Constructor and Description |
---|
CypherQuery(Neo4jPersistentEntity<?> entity,
Neo4jTemplate template) |
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) |
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)
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.Copyright © 2011-2013-2013 SpringSource. All Rights Reserved.