Module spring.data.cassandra
Interface ReactiveSelectOperation.TerminatingSelect<T>
- All Known Subinterfaces:
ReactiveSelectOperation.ReactiveSelect<T>,ReactiveSelectOperation.SelectWithProjection<T>,ReactiveSelectOperation.SelectWithQuery<T>,ReactiveSelectOperation.SelectWithTable<T>
- Enclosing interface:
- ReactiveSelectOperation
public static interface ReactiveSelectOperation.TerminatingSelect<T>
Trigger
SELECT execution by calling one of the terminating methods.-
Method Summary
-
Method Details
-
count
Get the number of matching elements. -
exists
Check for the presence of matching elements. -
first
Get the first result or no result.- Returns:
- the first result or
Mono.empty()if no match found; never null. - See Also:
-
one
Get exactly zero or one result.- Returns:
- exactly one result or
Mono.empty()if no match found; never null. - Throws:
IncorrectResultSizeDataAccessException- if more than one match found.- See Also:
-
all
Get all matching elements.- Returns:
- all matching elements; never null.
- See Also:
-