public class SolrRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
SolrRepository
org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
Constructor and Description |
---|
SolrRepositoryFactory(org.apache.solr.client.solrj.SolrClient solrClient) |
SolrRepositoryFactory(org.apache.solr.client.solrj.SolrClient solrClient,
SolrConverter converter) |
SolrRepositoryFactory(SolrOperations solrOperations) |
Modifier and Type | Method and Description |
---|---|
<T,ID> SolrEntityInformation<T,ID> |
getEntityInformation(Class<T> domainClass) |
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) |
boolean |
isSchemaCreationSupport() |
void |
setSchemaCreationSupport(boolean schemaCreationSupport) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
public SolrRepositoryFactory(SolrOperations solrOperations)
public SolrRepositoryFactory(org.apache.solr.client.solrj.SolrClient solrClient)
public SolrRepositoryFactory(org.apache.solr.client.solrj.SolrClient solrClient, SolrConverter converter)
public <T,ID> SolrEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata)
getTargetRepository
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
protected Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.EvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
public boolean isSchemaCreationSupport()
public void setSchemaCreationSupport(boolean schemaCreationSupport)
schemaCreationSupport
- Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.