Interface ReactiveSelectOperation.SelectWithProjection<T>
- All Superinterfaces:
ReactiveSelectOperation.SelectWithQuery<T>, ReactiveSelectOperation.TerminatingProjections, ReactiveSelectOperation.TerminatingResults<T>, ReactiveSelectOperation.TerminatingSelect<T>
- All Known Subinterfaces:
ReactiveSelectOperation.ReactiveSelect<T>
- Enclosing interface:
ReactiveSelectOperation
public static interface ReactiveSelectOperation.SelectWithProjection<T>
extends ReactiveSelectOperation.SelectWithQuery<T>
Result type override (optional).
- Since:
- 2.1
- Author:
- Mark Paluch, John Blum
-
Method Summary
Modifier and TypeMethodDescriptionDefine theresult target typethat the Cassandra Row fields should be mapped to.Methods inherited from interface ReactiveSelectOperation.SelectWithQuery
matchingMethods inherited from interface ReactiveSelectOperation.TerminatingProjections
count, existsMethods inherited from interface ReactiveSelectOperation.TerminatingResults
all, first, map, one
-
Method Details
-
as
Define theresult target typethat the Cassandra Row fields should be mapped to.Skip this step if you are anyway only interested in the original
domain type.- Type Parameters:
R-typeof the result.- Parameters:
resultType- desiredtarget typeof the result; must not be null.- Returns:
- new instance of
ReactiveSelectOperation.SelectWithQuery. - Throws:
IllegalArgumentException- ifresultTypeis null.- See Also:
-