Class DynamoDBRepositoryFactory

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware

    public class DynamoDBRepositoryFactory
    extends org.springframework.data.repository.core.support.RepositoryFactorySupport
    Author:
    Michael Lavelle, Sebastian Just
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport

        org.springframework.data.repository.core.support.RepositoryFactorySupport.ImplementationMethodExecutionInterceptor, org.springframework.data.repository.core.support.RepositoryFactorySupport.QueryExecutorMethodInterceptor
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected <T,​ID>
      DynamoDBCrudRepository<?,​?>
      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​(java.lang.Class<T> domainClass)  
      protected java.util.Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(org.springframework.data.repository.query.QueryLookupStrategy.Key key, org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)  
      protected java.lang.Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)  
      protected java.lang.Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation metadata)  
      protected static boolean isCompatible​(java.lang.String spec, java.lang.String impl)  
      • Methods inherited from class org.springframework.data.repository.core.support.RepositoryFactorySupport

        addQueryCreationListener, addRepositoryProxyPostProcessor, getProjectionFactory, getQueryMethods, getRepository, getRepository, getRepository, getRepositoryFragments, getRepositoryInformation, getRepositoryMetadata, getTargetRepositoryViaReflection, getTargetRepositoryViaReflection, setBeanClassLoader, setBeanFactory, setEvaluationContextProvider, setNamedQueries, setQueryLookupStrategyKey, setRepositoryBaseClass, validate
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DynamoDBRepositoryFactory

        public DynamoDBRepositoryFactory​(DynamoDBOperations dynamoDBOperations)
    • Method Detail

      • isCompatible

        protected static boolean isCompatible​(java.lang.String spec,
                                              java.lang.String impl)
      • getEntityInformation

        public <T,​ID> DynamoDBEntityInformation<T,​ID> getEntityInformation​(java.lang.Class<T> domainClass)
        Specified by:
        getEntityInformation in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getQueryLookupStrategy

        protected java.util.Optional<org.springframework.data.repository.query.QueryLookupStrategy> getQueryLookupStrategy​(org.springframework.data.repository.query.QueryLookupStrategy.Key key,
                                                                                                                           org.springframework.data.repository.query.QueryMethodEvaluationContextProvider evaluationContextProvider)
        Overrides:
        getQueryLookupStrategy in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getEnableScanPermissions

        protected EnableScanPermissions getEnableScanPermissions​(org.springframework.data.repository.core.RepositoryMetadata metadata)
      • getRepositoryBaseClass

        protected java.lang.Class<?> getRepositoryBaseClass​(org.springframework.data.repository.core.RepositoryMetadata metadata)
        Specified by:
        getRepositoryBaseClass in class org.springframework.data.repository.core.support.RepositoryFactorySupport
      • getTargetRepository

        protected java.lang.Object getTargetRepository​(org.springframework.data.repository.core.RepositoryInformation metadata)
        Specified by:
        getTargetRepository in class org.springframework.data.repository.core.support.RepositoryFactorySupport