public class IgniteRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
Supports multiple Ignite Instances on same JVM.
This is pretty useful working with Spring repositories bound to different Ignite intances within same application.
org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
Constructor and Description |
---|
IgniteRepositoryFactory(org.springframework.context.ApplicationContext ctx)
Creates the factory with initialized
Ignite instance. |
Modifier and Type | Method and Description |
---|---|
<T,ID> org.springframework.data.repository.core.EntityInformation<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.QueryMethodEvaluationContextProvider evaluationContextProvider) |
protected Class<?> |
getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata) |
protected org.springframework.data.repository.core.RepositoryMetadata |
getRepositoryMetadata(Class<?> repoItf) |
protected Object |
getTargetRepository(org.springframework.data.repository.core.RepositoryInformation metadata) |
static boolean |
isFieldQuery(String qry) |
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
public IgniteRepositoryFactory(org.springframework.context.ApplicationContext ctx)
Ignite
instance.ctx
- the ctxpublic <T,ID> org.springframework.data.repository.core.EntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
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 org.springframework.data.repository.core.RepositoryMetadata getRepositoryMetadata(Class<?> repoItf)
getRepositoryMetadata
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 Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
getQueryLookupStrategy
in class org.springframework.data.repository.core.support.RepositoryFactorySupport
public static boolean isFieldQuery(String qry)
qry
- Query string.true
if query is SqlFieldsQuery.
GridGain In-Memory Computing Platform : ver. 8.9.19 Release Date : April 10 2025