org.springframework.data.solr.repository.support
Class SolrRepositoryFactory
java.lang.Object
org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.solr.repository.support.SolrRepositoryFactory
- All Implemented Interfaces:
- Aware, BeanClassLoaderAware
public class SolrRepositoryFactory
- extends RepositoryFactorySupport
Factory to create SolrRepository
- Author:
- Christoph Strobl
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SolrRepositoryFactory
public SolrRepositoryFactory(SolrOperations solrOperations)
SolrRepositoryFactory
public SolrRepositoryFactory(org.apache.solr.client.solrj.SolrServer solrServer)
getEntityInformation
public <T,ID extends Serializable> SolrEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
- Specified by:
getEntityInformation in class RepositoryFactorySupport
getTargetRepository
protected Object getTargetRepository(RepositoryMetadata metadata)
- Specified by:
getTargetRepository in class RepositoryFactorySupport
getRepositoryBaseClass
protected Class<?> getRepositoryBaseClass(RepositoryMetadata metadata)
- Specified by:
getRepositoryBaseClass in class RepositoryFactorySupport
getQueryLookupStrategy
protected QueryLookupStrategy getQueryLookupStrategy(QueryLookupStrategy.Key key)
- Overrides:
getQueryLookupStrategy in class RepositoryFactorySupport
Copyright © 2011-2014-2014 Pivotal. All Rights Reserved.