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 ReactiveCouchbaseTemplate
save
(S entity) Methods inherited from class org.springframework.data.couchbase.repository.support.CouchbaseRepositoryBase
getCollection, getEntityInformation, getRepositoryInterface, getScope
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.couchbase.repository.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
- Specified by:
findAll
in interfaceReactiveSortingRepository<T,
ID>
-
save
- Specified by:
save
in interfaceReactiveCrudRepository<T,
ID>
-
saveAll
- Specified by:
saveAll
in interfaceReactiveCrudRepository<T,
ID>
-
saveAll
- Specified by:
saveAll
in interfaceReactiveCrudRepository<T,
ID>
-
findById
- Specified by:
findById
in interfaceReactiveCrudRepository<T,
ID>
-
findById
- Specified by:
findById
in interfaceReactiveCrudRepository<T,
ID>
-
findAllById
- Specified by:
findAllById
in interfaceReactiveCrudRepository<T,
ID>
-
findAllById
- Specified by:
findAllById
in interfaceReactiveCrudRepository<T,
ID>
-
existsById
- Specified by:
existsById
in interfaceReactiveCrudRepository<T,
ID>
-
existsById
- Specified by:
existsById
in interfaceReactiveCrudRepository<T,
ID>
-
findAll
- Specified by:
findAll
in interfaceReactiveCrudRepository<T,
ID>
-
deleteById
- Specified by:
deleteById
in interfaceReactiveCrudRepository<T,
ID>
-
deleteById
- Specified by:
deleteById
in interfaceReactiveCrudRepository<T,
ID>
-
delete
- Specified by:
delete
in interfaceReactiveCrudRepository<T,
ID>
-
deleteAllById
- Specified by:
deleteAllById
in interfaceReactiveCrudRepository<T,
ID>
-
deleteAll
- Specified by:
deleteAll
in interfaceReactiveCrudRepository<T,
ID>
-
deleteAll
- Specified by:
deleteAll
in interfaceReactiveCrudRepository<T,
ID>
-
deleteAll
- Specified by:
deleteAll
in interfaceReactiveCrudRepository<T,
ID>
-
count
- Specified by:
count
in interfaceReactiveCrudRepository<T,
ID>
-
getOperations
- Specified by:
getOperations
in interfaceReactiveCouchbaseRepository<T,
ID>
-
getReactiveTemplate
- Specified by:
getReactiveTemplate
in classCouchbaseRepositoryBase<T,
ID>
-