Package | Description |
---|---|
org.springframework.data.domain |
Central domain abstractions especially to be used in combination with the
Repository abstraction. |
org.springframework.data.repository.query |
Support classes to work with query methods.
|
Modifier and Type | Method and Description |
---|---|
static <T> Example<T> |
Example.of(T probe)
Create a new
Example including all non-null properties by default. |
static <T> Example<T> |
Example.of(T probe,
ExampleMatcher matcher)
Create a new
Example using the given ExampleMatcher . |
Modifier and Type | Method and Description |
---|---|
<S extends T> |
ReactiveQueryByExampleExecutor.count(Example<S> example)
Returns the number of instances matching the given
Example . |
<S extends T> |
QueryByExampleExecutor.count(Example<S> example)
Returns the number of instances matching the given
Example . |
<S extends T> |
ReactiveQueryByExampleExecutor.exists(Example<S> example)
Checks whether the data store contains elements that match the given
Example . |
<S extends T> |
QueryByExampleExecutor.exists(Example<S> example)
Checks whether the data store contains elements that match the given
Example . |
<S extends T> |
ReactiveQueryByExampleExecutor.findAll(Example<S> example)
Returns all entities matching the given
Example . |
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example)
Returns all entities matching the given
Example . |
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example,
Pageable pageable)
|
<S extends T> |
ReactiveQueryByExampleExecutor.findAll(Example<S> example,
Sort sort)
|
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example,
Sort sort)
|
<S extends T,R> |
QueryByExampleExecutor.findBy(Example<S> example,
Function<FluentQuery.FetchableFluentQuery<S>,R> queryFunction)
Returns entities matching the given
Example applying the queryFunction that defines the
query and its result type. |
<S extends T,R,P extends org.reactivestreams.Publisher<R>> |
ReactiveQueryByExampleExecutor.findBy(Example<S> example,
Function<FluentQuery.ReactiveFluentQuery<S>,P> queryFunction)
Returns entities matching the given
Example applying the queryFunction that defines the
query and its result type. |
<S extends T> |
ReactiveQueryByExampleExecutor.findOne(Example<S> example)
Returns a single entity matching the given
Example or Mono.empty() if none was found. |
<S extends T> |
QueryByExampleExecutor.findOne(Example<S> example)
Returns a single entity matching the given
Example or Optional.empty() if none was found. |
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.