public class DynamoDBRepositoryFactory
extends org.springframework.data.repository.core.support.RepositoryFactorySupport
org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
Constructor | Description |
---|---|
DynamoDBRepositoryFactory(DynamoDBOperations dynamoDBOperations) |
Modifier and Type | Method | Description |
---|---|---|
protected <T,ID extends Serializable> |
getDynamoDBRepository(org.springframework.data.repository.core.RepositoryMetadata metadata) |
Callback to create a
DynamoDBCrudRepository instance with the given
RepositoryMetadata |
protected EnableScanPermissions |
getEnableScanPermissions(org.springframework.data.repository.core.RepositoryMetadata metadata) |
|
<T,ID> DynamoDBEntityInformation<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) |
|
protected static boolean |
isCompatible(String spec,
String impl) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
public DynamoDBRepositoryFactory(DynamoDBOperations dynamoDBOperations)
public <T,ID> DynamoDBEntityInformation<T,ID> getEntityInformation(Class<T> domainClass)
getEntityInformation
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
protected <T,ID extends Serializable> DynamoDBCrudRepository<?,?> getDynamoDBRepository(org.springframework.data.repository.core.RepositoryMetadata metadata)
DynamoDBCrudRepository
instance with the given
RepositoryMetadata
T
- Type of the EntityID
- Type of the Hash (Primary) Keymetadata
- Metadata of the entityDynamoDBCrudRepository
instancegetTargetRepository(RepositoryInformation)
protected EnableScanPermissions getEnableScanPermissions(org.springframework.data.repository.core.RepositoryMetadata metadata)
protected Class<?> getRepositoryBaseClass(org.springframework.data.repository.core.RepositoryMetadata metadata)
getRepositoryBaseClass
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
Copyright © 2018. All rights reserved.