E
- The entity typeID
- The ID typepublic interface ReactorCrudRepository<E,ID>
extends io.micronaut.data.repository.reactive.ReactiveStreamsCrudRepository<E,ID>
ReactiveStreamsCrudRepository
Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<java.lang.Long> |
count() |
reactor.core.publisher.Mono<java.lang.Long> |
delete(E entity) |
reactor.core.publisher.Mono<java.lang.Long> |
deleteAll() |
reactor.core.publisher.Mono<java.lang.Long> |
deleteAll(@NotNull java.lang.Iterable<? extends E> entities) |
reactor.core.publisher.Mono<java.lang.Long> |
deleteById(ID id) |
reactor.core.publisher.Mono<java.lang.Boolean> |
existsById(ID id) |
reactor.core.publisher.Flux<E> |
findAll() |
reactor.core.publisher.Mono<E> |
findById(ID id) |
<S extends E> |
save(S entity) |
<S extends E> |
saveAll(@Valid @NotNull java.lang.Iterable<S> entities) |
<S extends E> |
update(S entity) |
@NonNull <S extends E> reactor.core.publisher.Mono<S> save(@NonNull @Valid @NotNull S entity)
@NonNull <S extends E> reactor.core.publisher.Flux<S> saveAll(@NonNull @Valid @NotNull @Valid @NotNull java.lang.Iterable<S> entities)
@NonNull <S extends E> reactor.core.publisher.Mono<S> update(@NonNull @Valid @NotNull S entity)
@NonNull reactor.core.publisher.Mono<java.lang.Boolean> existsById(@NonNull @NotNull ID id)
@NonNull reactor.core.publisher.Flux<E> findAll()
@NonNull reactor.core.publisher.Mono<java.lang.Long> count()
@NonNull reactor.core.publisher.Mono<java.lang.Long> deleteById(@NonNull @NotNull ID id)
@NonNull reactor.core.publisher.Mono<java.lang.Long> delete(@NonNull @NotNull E entity)
@NonNull reactor.core.publisher.Mono<java.lang.Long> deleteAll(@NonNull @NotNull @NotNull java.lang.Iterable<? extends E> entities)