public abstract class AbstractSolrQuery extends Object implements RepositoryQuery
RepositoryQuery
Modifier and Type | Field and Description |
---|---|
int |
UNLIMITED |
Modifier | Constructor and Description |
---|---|
protected |
AbstractSolrQuery(String collection,
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(@Nullable String collection, SolrOperations solrOperations, SolrQueryMethod solrQueryMethod)
solrOperations
- must not be nullsolrQueryMethod
- must not be nullpublic Object execute(Object[] parameters)
execute
in interface RepositoryQuery
public SolrQueryMethod getQueryMethod()
getQueryMethod
in interface RepositoryQuery
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–2021 Pivotal Software, Inc.. All rights reserved.