Interface ExecutableSelectOperation.TerminatingProjections
- All Known Subinterfaces:
ExecutableSelectOperation.ExecutableSelect<T>, ExecutableSelectOperation.SelectWithProjection<T>, ExecutableSelectOperation.SelectWithQuery<T>, ExecutableSelectOperation.SelectWithTable<T>, ExecutableSelectOperation.TerminatingSelect<T>, ExecutableSelectOperation.UntypedSelect
- Enclosing interface:
ExecutableSelectOperation
public static interface ExecutableSelectOperation.TerminatingProjections
Trigger
SELECT query execution by calling one of the terminating methods returning result projections for
count and exists projections.- Since:
- 2.1
- Author:
- Mark Paluch, John Blum
-
Method Summary
-
Method Details
-
count
long count()Get the number of matching elements.- Returns:
- total number of matching elements.
-
exists
default boolean exists()Check for the presence of matching elements.- Returns:
- true if at least one matching element exists.
- See Also:
-