Interface ExecutableFindByQueryOperation.FindByQueryWithProjecting<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
ExecutableFindByQueryOperation.FindByQueryConsistentWith<T>,ExecutableFindByQueryOperation.FindByQueryInCollection<T>,ExecutableFindByQueryOperation.FindByQueryInScope<T>,ExecutableFindByQueryOperation.FindByQueryWithConsistency<T>,ExecutableFindByQueryOperation.FindByQueryWithOptions<T>,ExecutableFindByQueryOperation.FindByQueryWithProjection<T>,ExecutableFindByQueryOperation.FindByQueryWithQuery<T>,ExecutableFindByQueryOperation.TerminatingFindByQuery<T>,InCollection<T>,InScope<T>,OneAndAll<T>,WithConsistency<T>,WithQuery<T>,WithQueryOptions<T>
- All Known Subinterfaces:
ExecutableFindByQueryOperation.ExecutableFindByQuery<T>,ExecutableFindByQueryOperation.FindByQueryWithDistinct<T>
- Enclosing interface:
- ExecutableFindByQueryOperation
public static interface ExecutableFindByQueryOperation.FindByQueryWithProjecting<T>
extends ExecutableFindByQueryOperation.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.ExecutableFindByQueryOperation.FindByQueryConsistentWith
consistentWithMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithConsistency
withConsistencyMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithProjection
asMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.FindByQueryWithQuery
matching, matchingMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByQueryOperation.TerminatingFindByQuery
all, count, exists, first, firstValue, one, oneValue, stream
-
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.
-