org.springframework.data.solr.repository.query
Class AbstractSolrQuery
java.lang.Object
org.springframework.data.solr.repository.query.AbstractSolrQuery
- All Implemented Interfaces:
- RepositoryQuery
- Direct Known Subclasses:
- PartTreeSolrQuery, StringBasedSolrQuery
public abstract class AbstractSolrQuery
- extends Object
- implements RepositoryQuery
Base implementation of a solr specific RepositoryQuery
- Author:
- Christoph Strobl, Luke Corpe, Andrey Paramonov, Francisco Spaeth
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSolrQuery
protected AbstractSolrQuery(SolrOperations solrOperations,
SolrQueryMethod solrQueryMethod)
- Parameters:
solrOperations - must not be nullsolrQueryMethod - must not be null
execute
public Object execute(Object[] parameters)
- Specified by:
execute in interface RepositoryQuery
getQueryMethod
public SolrQueryMethod getQueryMethod()
- Specified by:
getQueryMethod in interface RepositoryQuery
appendProjection
protected void appendProjection(Query query)
createQueryFromString
protected SimpleQuery createQueryFromString(String queryString,
SolrParameterAccessor parameterAccessor)
createQuery
protected abstract Query createQuery(SolrParameterAccessor parameterAccessor)
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.