@NoRepositoryBean
public interface ReactiveMongoRepository<T,ID>
extends org.springframework.data.repository.reactive.ReactiveSortingRepository<T,ID>, org.springframework.data.repository.query.ReactiveQueryByExampleExecutor<T>
Repository interface with reactive support.| Modifier and Type | Method and Description |
|---|---|
<S extends T> |
findAll(org.springframework.data.domain.Example<S> example) |
<S extends T> |
findAll(org.springframework.data.domain.Example<S> example,
org.springframework.data.domain.Sort sort) |
<S extends T> |
insert(Iterable<S> entities)
Inserts the given entities.
|
<S extends T> |
insert(org.reactivestreams.Publisher<S> entities)
Inserts the given entities.
|
<S extends T> |
insert(S entity)
Inserts the given entity.
|
findAll<S extends T> reactor.core.publisher.Mono<S> insert(S entity)
ReactiveCrudRepository.save(Object) instead to avoid the usage of store-specific API.entity - must not be null.<S extends T> reactor.core.publisher.Flux<S> insert(Iterable<S> entities)
ReactiveCrudRepository.save(Object) instead to avoid the usage of store-specific API.entities - must not be null.<S extends T> reactor.core.publisher.Flux<S> insert(org.reactivestreams.Publisher<S> entities)
ReactiveCrudRepository.save(Object) instead to avoid the usage of store-specific API.entities - must not be null.<S extends T> reactor.core.publisher.Flux<S> findAll(org.springframework.data.domain.Example<S> example)
findAll in interface org.springframework.data.repository.query.ReactiveQueryByExampleExecutor<T>Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.