public class SpatialIndexStartClause extends Object
Modifier and Type | Field and Description |
---|---|
protected SortedMap<Integer,PartInfo> |
partInfos |
Constructor and Description |
---|
SpatialIndexStartClause(PartInfo partInfo) |
Modifier and Type | Method and Description |
---|---|
protected Object |
convertIfNecessary(Neo4jTemplate template,
Object value,
Neo4jPersistentProperty property) |
protected Map<Parameter,PartInfo> |
findMyParameters(Set<Parameter> parameters) |
PartInfo |
getPartInfo()
Utility method which returns the primary (first) partInfo.
|
protected Collection<PartInfo> |
getPartInfos() |
protected boolean |
hasMultipleParts()
Returns true if this start clause comprises of multiple parts
|
protected Map<PartInfo,Object> |
matchToPartsAndConvert(Map<Parameter,PartInfo> myParameters,
Map<Parameter,Object> parameters,
Neo4jTemplate template) |
boolean |
merge(PartInfo partInfo)
Determines if it is possible to merge the provided PartInfo into
this existing start clause, AND if so, also adds it to the list of
parts managed by this clause.
|
protected String |
renderQuery(Map<PartInfo,Object> values) |
Map<Parameter,Object> |
resolveParameters(Map<Parameter,Object> parameters,
Neo4jTemplate template) |
boolean |
sameIdentifier(PartInfo info) |
boolean |
sameIndex(PartInfo info) |
String |
toString() |
public SpatialIndexStartClause(PartInfo partInfo)
protected Object convertIfNecessary(Neo4jTemplate template, Object value, Neo4jPersistentProperty property)
public Map<Parameter,Object> resolveParameters(Map<Parameter,Object> parameters, Neo4jTemplate template)
protected Map<PartInfo,Object> matchToPartsAndConvert(Map<Parameter,PartInfo> myParameters, Map<Parameter,Object> parameters, Neo4jTemplate template)
protected boolean hasMultipleParts()
public PartInfo getPartInfo()
public boolean merge(PartInfo partInfo)
partInfo
- public boolean sameIdentifier(PartInfo info)
public boolean sameIndex(PartInfo info)
protected Collection<PartInfo> getPartInfos()
Copyright © 2011-2015–2016 Pivotal Software, Inc.. All rights reserved.