Interface ExecutableFindByAnalyticsOperation.TerminatingFindByAnalytics<T>
- All Superinterfaces:
OneAndAll<T>
- All Known Subinterfaces:
ExecutableFindByAnalyticsOperation.ExecutableFindByAnalytics<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsConsistentWith<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsInCollection<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsInScope<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsWithConsistency<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsWithOptions<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsWithProjection<T>
,ExecutableFindByAnalyticsOperation.FindByAnalyticsWithQuery<T>
- Enclosing interface:
- ExecutableFindByAnalyticsOperation
public static interface ExecutableFindByAnalyticsOperation.TerminatingFindByAnalytics<T>
extends OneAndAll<T>
-
Method Summary
Modifier and TypeMethodDescriptionall()
Get all matching elements.long
count()
Get the number of matching elements.boolean
exists()
Check for the presence of matching elements.first()
Get the first or no result.Get the first or no result.one()
Get exactly zero or one result.oneValue()
Get exactly zero or one result.stream()
Stream all matching elements.
-
Method Details
-
one
Get exactly zero or one result.- Specified by:
one
in interfaceOneAndAll<T>
- Returns:
Optional.empty()
if no match found.- Throws:
IncorrectResultSizeDataAccessException
- if more than one match found.
-
oneValue
Get exactly zero or one result.- Specified by:
oneValue
in interfaceOneAndAll<T>
- Returns:
- null if no match found.
- Throws:
IncorrectResultSizeDataAccessException
- if more than one match found.
-
first
Get the first or no result.- Specified by:
first
in interfaceOneAndAll<T>
- Returns:
Optional.empty()
if no match found.
-
firstValue
Get the first or no result.- Specified by:
firstValue
in interfaceOneAndAll<T>
- Returns:
- null if no match found.
-
all
Get all matching elements. -
stream
Stream all matching elements. -
count
long count()Get the number of matching elements. -
exists
boolean exists()Check for the presence of matching elements.
-