public static interface ReactiveSelectOperation.TerminatingSelect<T>
SELECT
execution by calling one of the terminating methods.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 result or no result.
|
reactor.core.publisher.Mono<T> |
one()
Get exactly zero or one result.
|
reactor.core.publisher.Mono<Long> count()
Mono
emitting the total number of matching elements; never null.Mono
reactor.core.publisher.Mono<Boolean> exists()
Mono
emitting true if at least one matching element exists; never null.Mono
reactor.core.publisher.Mono<T> first()
Mono.empty()
if no match found; never null.Mono
reactor.core.publisher.Mono<T> one()
Mono.empty()
if no match found; never null.IncorrectResultSizeDataAccessException
- if more than one match found.Mono
reactor.core.publisher.Flux<T> all()
Flux
Copyright © 2018–2022 Pivotal Software, Inc.. All rights reserved.