public abstract class AbstractSolrQuery extends Object implements org.springframework.data.repository.query.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 org.springframework.data.domain.Pageable |
getLimitingPageable(org.springframework.data.domain.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 org.springframework.data.repository.query.RepositoryQuery
public SolrQueryMethod getQueryMethod()
getQueryMethod
in interface org.springframework.data.repository.query.RepositoryQuery
protected 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()
protected org.springframework.data.domain.Pageable getLimitingPageable(org.springframework.data.domain.Pageable source, int limit)
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.