Interface FluentFindOperation.FindWithProjection<T>
- Type Parameters:
T- returned type
- All Superinterfaces:
FluentFindOperation.FindWithQuery<T>,FluentFindOperation.TerminatingFindWithoutQuery<T>
- All Known Subinterfaces:
FluentFindOperation.ExecutableFind<T>
- Enclosing interface:
- FluentFindOperation
public static interface FluentFindOperation.FindWithProjection<T>
extends FluentFindOperation.FindWithQuery<T>
Result type override (Optional).
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface org.springframework.data.neo4j.core.FluentFindOperation.FindWithQuery
matching, matching, matching, matching, matchingMethods inherited from interface org.springframework.data.neo4j.core.FluentFindOperation.TerminatingFindWithoutQuery
all
-
Method Details
-
as
Define the target type fields should be mapped to.
Skip this step if you are anyway only interested in the original domain type.- Type Parameters:
R- result type.- Parameters:
resultType- must not be null.- Returns:
- new instance of
FluentFindOperation.FindWithProjection. - Throws:
IllegalArgumentException- if resultType is null.
-