Interface ListQueryByExampleExecutor<T>
- Type Parameters:
T
- the type of entity for which this executor acts on.
- All Superinterfaces:
QueryByExampleExecutor<T>
Interface to allow execution of Query by Example
Example
instances. This an extension to
QueryByExampleExecutor
returning List
instead of Iterable
where applicable.- Since:
- 3.0
- Author:
- Jens Schauder
- See Also:
-
Method Summary
-
Method Details
-
findAll
Returns all entities matching the givenExample
. In case no match could be found an emptyList
is returned.- Specified by:
findAll
in interfaceQueryByExampleExecutor<T>
- Parameters:
example
- must not be null.- Returns:
- all entities matching the given
Example
.
-
findAll
Returns all entities matching the givenExample
applying the givenSort
. In case no match could be found an emptyList
is returned.- Specified by:
findAll
in interfaceQueryByExampleExecutor<T>
- Parameters:
example
- must not be null.sort
- theSort
specification to sort the results by, may beSort.unsorted()
, must not be null.- Returns:
- all entities matching the given
Example
.
-