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).
- Since:
- 1.1
- Author:
- Mark Paluch, Mikhail Polivakha
-
Method Summary
Modifier and TypeMethodDescriptionDefine theresult target typethat the fields should be mapped to.Methods inherited from interface ReactiveSelectOperation.SelectWithQuery
matching, withFetchSize
-
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:
-