Spring Data Solr

org.springframework.data.solr.repository.query
Class StringBasedSolrQuery

java.lang.Object
  extended by org.springframework.data.solr.repository.query.AbstractSolrQuery
      extended by org.springframework.data.solr.repository.query.StringBasedSolrQuery
All Implemented Interfaces:
RepositoryQuery

public class StringBasedSolrQuery
extends AbstractSolrQuery

Solr specific implementation of RepositoryQuery that can handle string based queries

Author:
Christoph Strobl

Constructor Summary
StringBasedSolrQuery(SolrQueryMethod method, SolrOperations solrOperations)
           
StringBasedSolrQuery(String query, SolrQueryMethod queryMethod, SolrOperations solrOperations)
           
 
Method Summary
protected  Query createQuery(SolrParameterAccessor parameterAccessor)
           
 
Methods inherited from class org.springframework.data.solr.repository.query.AbstractSolrQuery
appendProjection, createQueryFromString, execute, getQueryMethod
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringBasedSolrQuery

public StringBasedSolrQuery(SolrQueryMethod method,
                            SolrOperations solrOperations)

StringBasedSolrQuery

public StringBasedSolrQuery(String query,
                            SolrQueryMethod queryMethod,
                            SolrOperations solrOperations)
Method Detail

createQuery

protected Query createQuery(SolrParameterAccessor parameterAccessor)
Specified by:
createQuery in class AbstractSolrQuery

Spring Data Solr

Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.