public class SpelQueryCreator extends AbstractQueryCreator<KeyValueQuery<SpelExpression>,String>
Constructor and Description |
---|
SpelQueryCreator(PartTree tree,
ParameterAccessor parameters)
|
Modifier and Type | Method and Description |
---|---|
protected String |
and(Part part,
String base,
Iterator<Object> iterator) |
protected KeyValueQuery<SpelExpression> |
complete(String criteria,
Sort sort) |
protected String |
create(Part part,
Iterator<Object> iterator) |
protected String |
or(String base,
String criteria) |
protected SpelExpression |
toPredicateExpression(PartTree tree) |
createQuery, createQuery
public SpelQueryCreator(PartTree tree, ParameterAccessor parameters)
tree
- must not be null.parameters
- must not be null.protected String create(Part part, Iterator<Object> iterator)
create
in class AbstractQueryCreator<KeyValueQuery<SpelExpression>,String>
protected String and(Part part, String base, Iterator<Object> iterator)
and
in class AbstractQueryCreator<KeyValueQuery<SpelExpression>,String>
protected String or(String base, String criteria)
or
in class AbstractQueryCreator<KeyValueQuery<SpelExpression>,String>
protected KeyValueQuery<SpelExpression> complete(String criteria, Sort sort)
complete
in class AbstractQueryCreator<KeyValueQuery<SpelExpression>,String>
protected SpelExpression toPredicateExpression(PartTree tree)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.