Interface ExecutableSelectOperation.SelectWithProjection<T>
- All Superinterfaces:
ExecutableSelectOperation.SelectWithQuery<T>, ExecutableSelectOperation.TerminatingProjections, ExecutableSelectOperation.TerminatingResults<T>, ExecutableSelectOperation.TerminatingSelect<T>
- All Known Subinterfaces:
ExecutableSelectOperation.ExecutableSelect<T>
- Enclosing interface:
ExecutableSelectOperation
public static interface ExecutableSelectOperation.SelectWithProjection<T>
extends ExecutableSelectOperation.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 ExecutableSelectOperation.SelectWithQuery
matchingMethods inherited from interface ExecutableSelectOperation.TerminatingProjections
count, existsMethods inherited from interface ExecutableSelectOperation.TerminatingResults
all, first, firstValue, map, one, oneValue, slice, stream
-
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
ExecutableSelectOperation.SelectWithQuery. - Throws:
IllegalArgumentException- ifresultTypeis null.- See Also:
-