Interface ExecutableSelectOperation.SelectWithProjection<T>
- All Superinterfaces:
ExecutableSelectOperation.SelectWithQuery<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).
-
Method Summary
Modifier and TypeMethodDescriptionDefine theresult target typethat the Cassandra Row fields should be mapped to.Methods inherited from interface org.springframework.data.cassandra.core.ExecutableSelectOperation.SelectWithQuery
matchingMethods inherited from interface org.springframework.data.cassandra.core.ExecutableSelectOperation.TerminatingSelect
all, count, exists, first, firstValue, one, oneValue, 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- if resultType is null.- See Also:
-