Class SimpleReactiveCouchbaseRepository<T,ID>
java.lang.Object
org.springframework.data.couchbase.repository.support.CouchbaseRepositoryBase<T,ID>
org.springframework.data.couchbase.repository.support.SimpleReactiveCouchbaseRepository<T,ID>
- All Implemented Interfaces:
ReactiveCouchbaseRepository<T,ID>, ReactiveCrudRepository<T, ID>, ReactiveSortingRepository<T, ID>, Repository<T, ID>
public class SimpleReactiveCouchbaseRepository<T,ID>
extends CouchbaseRepositoryBase<T,ID>
implements ReactiveCouchbaseRepository<T,ID>
Reactive repository base implementation for Couchbase.
- Since:
- 3.0
- Author:
- Subhashni Balakrishnan, Mark Paluch, Christoph Strobl, David Kelly, Douglas Six, Jens Schauder, Michael Reiche
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleReactiveCouchbaseRepository(CouchbaseEntityInformation<T, String> entityInformation, ReactiveCouchbaseOperations operations, Class<?> repositoryInterface) Create a new Repository. -
Method Summary
Modifier and TypeMethodDescriptioncount()deleteAllById(Iterable<? extends ID> ids) deleteById(ID id) deleteById(Publisher<ID> publisher) existsById(ID id) existsById(Publisher<ID> publisher) findAll()findAllById(Iterable<ID> ids) findAllById(Publisher<ID> entityStream) protected ReactiveCouchbaseTemplatesave(S entity) Methods inherited from class CouchbaseRepositoryBase
getCollection, getEntityInformation, getOptions, getRepositoryInterface, getScopeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ReactiveCouchbaseRepository
getEntityInformation
-
Constructor Details
-
SimpleReactiveCouchbaseRepository
public SimpleReactiveCouchbaseRepository(CouchbaseEntityInformation<T, String> entityInformation, ReactiveCouchbaseOperations operations, Class<?> repositoryInterface) Create a new Repository.- Parameters:
entityInformation- the Metadata for the entity.operations- the reference to the reactive template used.
-
-
Method Details
-
findAll
-
save
-
saveAll
-
saveAll
-
findById
-
findById
-
findAllById
- Specified by:
findAllByIdin interfaceReactiveCrudRepository<T,ID>
-
findAllById
- Specified by:
findAllByIdin interfaceReactiveCrudRepository<T,ID>
-
existsById
- Specified by:
existsByIdin interfaceReactiveCrudRepository<T,ID>
-
existsById
- Specified by:
existsByIdin interfaceReactiveCrudRepository<T,ID>
-
findAll
-
deleteById
- Specified by:
deleteByIdin interfaceReactiveCrudRepository<T,ID>
-
deleteById
- Specified by:
deleteByIdin interfaceReactiveCrudRepository<T,ID>
-
delete
-
deleteAllById
- Specified by:
deleteAllByIdin interfaceReactiveCrudRepository<T,ID>
-
deleteAll
-
deleteAll
-
deleteAll
-
count
-
getOperations
- Specified by:
getOperationsin interfaceReactiveCouchbaseRepository<T,ID>
-
getReactiveTemplate
- Specified by:
getReactiveTemplatein classCouchbaseRepositoryBase<T,ID>
-