Class CouchbaseRepositoryBase<T,ID>

java.lang.Object
org.springframework.data.couchbase.repository.support.CouchbaseRepositoryBase<T,ID>
Type Parameters:
T -
ID -
Direct Known Subclasses:
SimpleCouchbaseRepository, SimpleReactiveCouchbaseRepository

public abstract class CouchbaseRepositoryBase<T,ID> extends Object
Common base for SimpleCouchbaseRepository and SimpleReactiveCouchbaseRepository
Author:
Michael Reiche
  • Constructor Details

  • Method Details

    • getRepositoryInterface

      public Class<?> getRepositoryInterface()
    • getEntityInformation

      public CouchbaseEntityInformation<T,String> getEntityInformation()
      Returns the information for the underlying template.
      Returns:
      the underlying entity information.
    • getScope

      protected String getScope()
      Get the Scope from
      1. The repository
      2. The entity
      3. otherwise null
      This can be overriden in the operation method by
      1. repository.withCollection() 2. Annotation on the method
    • getCollection

      protected String getCollection()
      Get the Collection from
      1. The repository
      2. The entity
      3. otherwise null
      This can be overriden in the operation method by
      1. repository.withCollection()
    • getReactiveTemplate

      protected abstract ReactiveCouchbaseTemplate getReactiveTemplate()