Module spring.data.r2dbc
Interface ReactiveSelectOperation.SelectWithProjection<T>
- All Superinterfaces:
ReactiveSelectOperation.SelectWithQuery<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).
-
Method Summary
Modifier and TypeMethodDescriptionDefine theresult target typethat the fields should be mapped to.Methods inherited from interface org.springframework.data.r2dbc.core.ReactiveSelectOperation.SelectWithQuery
matching
-
Method Details
-
as
Define theresult target typethat the fields should be mapped to.Skip this step if you are only interested in the original
domain type.- Type Parameters:
R-typeof the result.- Parameters:
resultType- desiredtypeof the result; must not be null.- Returns:
- new instance of
ReactiveSelectOperation.SelectWithQuery. - Throws:
IllegalArgumentException- ifresultTypeis null.- See Also:
-