T
- public interface ReactiveQueryByExampleExecutor<T>
Example
instances using a reactive infrastructure.Modifier and Type | Method and Description |
---|---|
<S extends T> |
count(Example<S> example)
Returns the number of instances matching the given
Example . |
<S extends T> |
exists(Example<S> example)
Checks whether the data store contains elements that match the given
Example . |
<S extends T> |
findAll(Example<S> example)
Returns all entities matching the given
Example . |
<S extends T> |
findAll(Example<S> example,
Sort sort)
|
<S extends T> |
findOne(Example<S> example)
Returns a single entity matching the given
Example or Mono.empty() if none was found. |
<S extends T> reactor.core.publisher.Mono<S> findOne(Example<S> example)
Example
or Mono.empty()
if none was found.example
- must not be null.Example
or Mono.empty()
if none was found.IncorrectResultSizeDataAccessException
- via Mono.error(Throwable)
if the
example yields more than one result.<S extends T> reactor.core.publisher.Flux<S> findAll(Example<S> example)
Example
. In case no match could be found Flux.empty()
is
returned.example
- must not be null.Example
.<S extends T> reactor.core.publisher.Mono<Long> count(Example<S> example)
Example
.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.