public class SolrRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
SolrRepository| 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 extends Serializable> |
getEntityInformation(Class<T> domainClass) |
protected org.springframework.data.repository.query.QueryLookupStrategy |
getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key) |
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, getQueryLookupStrategy, getQueryMethods, getRepository, getRepository, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validatepublic 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 extends Serializable> SolrEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Object getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata)
getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupportprotected org.springframework.data.repository.query.QueryLookupStrategy getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key)
getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupportpublic boolean isSchemaCreationSupport()
public void setSchemaCreationSupport(boolean schemaCreationSupport)
schemaCreationSupport - Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.