Interface ReactiveFindByQueryOperation.FindByQueryWithProjecting<T>
- Type Parameters:
T
- the entity type to use for the results.
- All Superinterfaces:
InCollection<T>
,InScope<T>
,OneAndAllReactive<T>
,ReactiveFindByQueryOperation.FindByQueryConsistentWith<T>
,ReactiveFindByQueryOperation.FindByQueryInCollection<T>
,ReactiveFindByQueryOperation.FindByQueryInScope<T>
,ReactiveFindByQueryOperation.FindByQueryWithConsistency<T>
,ReactiveFindByQueryOperation.FindByQueryWithOptions<T>
,ReactiveFindByQueryOperation.FindByQueryWithProjection<T>
,ReactiveFindByQueryOperation.FindByQueryWithQuery<T>
,ReactiveFindByQueryOperation.TerminatingFindByQuery<T>
,WithConsistency<T>
,WithQuery<T>
,WithQueryOptions<T>
- All Known Subinterfaces:
ReactiveFindByQueryOperation.FindByQueryWithDistinct<T>
,ReactiveFindByQueryOperation.ReactiveFindByQuery<T>
- Enclosing interface:
- ReactiveFindByQueryOperation
public static interface ReactiveFindByQueryOperation.FindByQueryWithProjecting<T>
extends ReactiveFindByQueryOperation.FindByQueryWithProjection<T>
Fluent method to specify fields to project.
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryConsistentWith
consistentWith
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryInCollection
inCollection
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryInScope
inScope
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithConsistency
withConsistency
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithOptions
withOptions
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithProjection
as
Methods inherited from interface org.springframework.data.couchbase.core.ReactiveFindByQueryOperation.FindByQueryWithQuery
matching, matching
-
Method Details
-
project
Define the target type fields should be mapped to.
Skip this step if you are anyway only interested in the original domain type.- Parameters:
fields
- to project- Returns:
- new instance of
ReactiveFindByQueryOperation.FindByQueryWithConsistency
. - Throws:
IllegalArgumentException
- if returnType is null.
-