Class SimpleReactiveElasticsearchRepository<T,ID>
java.lang.Object
org.springframework.data.elasticsearch.repository.support.SimpleReactiveElasticsearchRepository<T,ID>
- All Implemented Interfaces:
ReactiveElasticsearchRepository<T,
,ID> ReactiveCrudRepository<T,
,ID> ReactiveSortingRepository<T,
,ID> Repository<T,
ID>
public class SimpleReactiveElasticsearchRepository<T,ID>
extends Object
implements ReactiveElasticsearchRepository<T,ID>
- Since:
- 3.2
- Author:
- Christoph Strobl, Peter-Josef Meisch, Aleksei Arsenev, Jens Schauder
-
Constructor Summary
ConstructorDescriptionSimpleReactiveElasticsearchRepository
(ElasticsearchEntityInformation<T, ID> entityInformation, ReactiveElasticsearchOperations operations) -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<Long>
count()
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
reactor.core.publisher.Mono<Void>
deleteAllById
(Iterable<? extends ID> ids) reactor.core.publisher.Mono<Void>
deleteById
(ID id) reactor.core.publisher.Mono<Void>
deleteById
(org.reactivestreams.Publisher<ID> id) reactor.core.publisher.Mono<Boolean>
existsById
(ID id) reactor.core.publisher.Mono<Boolean>
existsById
(org.reactivestreams.Publisher<ID> id) reactor.core.publisher.Flux<T>
findAll()
reactor.core.publisher.Flux<T>
reactor.core.publisher.Flux<T>
findAllById
(Iterable<ID> ids) reactor.core.publisher.Flux<T>
findAllById
(org.reactivestreams.Publisher<ID> idStream) reactor.core.publisher.Mono<T>
reactor.core.publisher.Mono<T>
<S extends T>
reactor.core.publisher.Mono<S>save
(S entity) <S extends T>
reactor.core.publisher.Flux<S><S extends T>
reactor.core.publisher.Flux<S>saveAll
(org.reactivestreams.Publisher<S> entityStream)
-
Constructor Details
-
SimpleReactiveElasticsearchRepository
public SimpleReactiveElasticsearchRepository(ElasticsearchEntityInformation<T, ID> entityInformation, ReactiveElasticsearchOperations operations)
-
-
Method Details
-
save
- Specified by:
save
in interfaceReactiveCrudRepository<T,
ID>
-
saveAll
- Specified by:
saveAll
in interfaceReactiveCrudRepository<T,
ID>
-
saveAll
public <S extends T> reactor.core.publisher.Flux<S> saveAll(org.reactivestreams.Publisher<S> entityStream) - Specified by:
saveAll
in interfaceReactiveCrudRepository<T,
ID>
-
findById
- Specified by:
findById
in interfaceReactiveCrudRepository<T,
ID>
-
findById
- Specified by:
findById
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>
-
findAll
- Specified by:
findAll
in interfaceReactiveSortingRepository<T,
ID>
-
findAllById
- Specified by:
findAllById
in interfaceReactiveCrudRepository<T,
ID>
-
findAllById
- Specified by:
findAllById
in interfaceReactiveCrudRepository<T,
ID>
-
count
- Specified by:
count
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
public reactor.core.publisher.Mono<Void> deleteAll(org.reactivestreams.Publisher<? extends T> entityStream) - Specified by:
deleteAll
in interfaceReactiveCrudRepository<T,
ID>
-
deleteAll
- Specified by:
deleteAll
in interfaceReactiveCrudRepository<T,
ID>
-