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 type
that the Cassandra Row fields should be mapped to.Methods inherited from interface org.springframework.data.cassandra.core.ExecutableSelectOperation.SelectWithQuery
matching
Methods inherited from interface org.springframework.data.cassandra.core.ExecutableSelectOperation.TerminatingSelect
all, count, exists, first, firstValue, one, oneValue, stream
-
Method Details
-
as
Define theresult target type
that 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
-type
of the result.- Parameters:
resultType
- desiredtarget type
of the result; must not be null.- Returns:
- new instance of
ExecutableSelectOperation.SelectWithQuery
. - Throws:
IllegalArgumentException
- if resultType is null.- See Also:
-