Interface FluentFindOperation.TerminatingFind<T>
- Type Parameters:
T- returned type
- All Superinterfaces:
FluentFindOperation.TerminatingFindWithoutQuery<T>
- Enclosing interface:
FluentFindOperation
public static interface FluentFindOperation.TerminatingFind<T>
extends FluentFindOperation.TerminatingFindWithoutQuery<T>
Triggers find execution by calling one of the terminating methods.
- Since:
- 6.1
- Author:
- Michael Simons
-
Method Summary
Methods inherited from interface FluentFindOperation.TerminatingFindWithoutQuery
all
-
Method Details
-
one
Get exactly zero or one result.- Returns:
Optional.empty()if no match found.- Throws:
IncorrectResultSizeDataAccessException- if more than one match found.
-
oneValue
@Nullable T oneValue()Get exactly zero or one result.- Returns:
- null if no match found.
- Throws:
IncorrectResultSizeDataAccessException- if more than one match found.
-