Class CouchbaseRepositoryBase<T,ID>

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

public class CouchbaseRepositoryBase<T,ID> extends Object
  • Constructor Details

  • Method Details

    • 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()