public static interface ReactiveFindByQueryOperation.TerminatingFindByQuery<T> extends OneAndAllReactive<T>
| Modifier and Type | Method and Description |
|---|---|
reactor.core.publisher.Flux<T> |
all()
Get all matching elements.
|
reactor.core.publisher.Mono<Long> |
count()
Get the number of matching elements.
|
reactor.core.publisher.Mono<Boolean> |
exists()
Check for the presence of matching elements.
|
reactor.core.publisher.Mono<T> |
first()
Get the first or no result.
|
reactor.core.publisher.Mono<T> |
one()
Get exactly zero or one result.
|
reactor.core.publisher.Mono<T> one()
one in interface OneAndAllReactive<T>IncorrectResultSizeDataAccessException - if more than one match found.reactor.core.publisher.Mono<T> first()
first in interface OneAndAllReactive<T>reactor.core.publisher.Flux<T> all()
all in interface OneAndAllReactive<T>reactor.core.publisher.Mono<Long> count()
count in interface OneAndAllReactive<T>reactor.core.publisher.Mono<Boolean> exists()
exists in interface OneAndAllReactive<T>Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.