public abstract class AbstractSolrQuery extends Object implements RepositoryQuery
RepositoryQuery| Modifier and Type | Field and Description |
|---|---|
int |
UNLIMITED |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSolrQuery(SolrOperations solrOperations,
SolrQueryMethod solrQueryMethod) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendProjection(Query query) |
protected abstract Query |
createQuery(SolrParameterAccessor parameterAccessor) |
protected SimpleQuery |
createQueryFromString(String queryString,
SolrParameterAccessor parameterAccessor) |
Object |
execute(Object[] parameters) |
int |
getLimit() |
protected Pageable |
getLimitingPageable(Pageable source,
int limit) |
SolrQueryMethod |
getQueryMethod() |
boolean |
isCountQuery() |
boolean |
isDeleteQuery() |
boolean |
isLimiting() |
public final int UNLIMITED
protected AbstractSolrQuery(SolrOperations solrOperations, SolrQueryMethod solrQueryMethod)
solrOperations - must not be nullsolrQueryMethod - must not be nullpublic Object execute(Object[] parameters)
execute in interface RepositoryQuerypublic SolrQueryMethod getQueryMethod()
getQueryMethod in interface RepositoryQueryprotected void appendProjection(Query query)
protected SimpleQuery createQueryFromString(String queryString, SolrParameterAccessor parameterAccessor)
protected abstract Query createQuery(SolrParameterAccessor parameterAccessor)
public boolean isCountQuery()
public boolean isDeleteQuery()
public boolean isLimiting()
public int getLimit()
Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.