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> |
QueryByExampleExecutor.count(Example<S> example)
Returns the number of instances matching the given
Example . |
<S extends T> |
ReactiveQueryByExampleExecutor.count(Example<S> example)
Returns the number of instances matching 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.exists(Example<S> example)
Checks whether the data store contains elements that match the given
Example . |
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example)
Returns all entities matching 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,
Pageable pageable)
|
<S extends T> |
QueryByExampleExecutor.findAll(Example<S> example,
Sort sort)
|
<S extends T> |
ReactiveQueryByExampleExecutor.findAll(Example<S> example,
Sort sort)
|
<S extends T> |
QueryByExampleExecutor.findOne(Example<S> example)
Returns a single entity matching the given
Example or null if none was found. |
<S extends T> |
ReactiveQueryByExampleExecutor.findOne(Example<S> example)
Returns a single entity matching the given
Example or Mono.empty() if none was found. |
Copyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.