public class DerivedQueryCreator extends org.springframework.data.repository.query.parser.AbstractQueryCreator<String,ConjunctionBuilder>
Constructor and Description |
---|
DerivedQueryCreator(org.springframework.data.mapping.context.MappingContext<? extends ArangoPersistentEntity<?>,ArangoPersistentProperty> context,
Class<?> domainClass,
org.springframework.data.repository.query.parser.PartTree tree,
ArangoParameterAccessor accessor,
Map<String,Object> bindVars,
List<String> geoFields,
boolean useFunctions) |
Modifier and Type | Method and Description |
---|---|
protected ConjunctionBuilder |
and(org.springframework.data.repository.query.parser.Part part,
ConjunctionBuilder base,
Iterator<Object> iterator) |
protected String |
complete(ConjunctionBuilder criteria,
org.springframework.data.domain.Sort sort)
Builds a full AQL query from a built Disjunction, additional information from
PartTree and special parameters caught by ArangoParameterAccessor
|
protected ConjunctionBuilder |
create(org.springframework.data.repository.query.parser.Part part,
Iterator<Object> iterator) |
String |
getCollectionName() |
List<String> |
getGeoFields() |
double[] |
getUniquePoint() |
protected ConjunctionBuilder |
or(ConjunctionBuilder base,
ConjunctionBuilder criteria) |
public DerivedQueryCreator(org.springframework.data.mapping.context.MappingContext<? extends ArangoPersistentEntity<?>,ArangoPersistentProperty> context, Class<?> domainClass, org.springframework.data.repository.query.parser.PartTree tree, ArangoParameterAccessor accessor, Map<String,Object> bindVars, List<String> geoFields, boolean useFunctions)
public String getCollectionName()
public double[] getUniquePoint()
protected ConjunctionBuilder create(org.springframework.data.repository.query.parser.Part part, Iterator<Object> iterator)
create
in class org.springframework.data.repository.query.parser.AbstractQueryCreator<String,ConjunctionBuilder>
protected ConjunctionBuilder and(org.springframework.data.repository.query.parser.Part part, ConjunctionBuilder base, Iterator<Object> iterator)
and
in class org.springframework.data.repository.query.parser.AbstractQueryCreator<String,ConjunctionBuilder>
protected ConjunctionBuilder or(ConjunctionBuilder base, ConjunctionBuilder criteria)
or
in class org.springframework.data.repository.query.parser.AbstractQueryCreator<String,ConjunctionBuilder>
protected String complete(ConjunctionBuilder criteria, org.springframework.data.domain.Sort sort)
complete
in class org.springframework.data.repository.query.parser.AbstractQueryCreator<String,ConjunctionBuilder>
criteria
- sort
- Copyright © 2017–2018 ArangoDB GmbH. All rights reserved.