Interface ReactiveFindByQueryOperation.FindByQueryWithDistinct<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.FindByQueryWithProjecting<T>
,ReactiveFindByQueryOperation.FindByQueryWithProjection<T>
,ReactiveFindByQueryOperation.FindByQueryWithQuery<T>
,ReactiveFindByQueryOperation.TerminatingFindByQuery<T>
,WithConsistency<T>
,WithDistinct<T>
,WithQuery<T>
,WithQueryOptions<T>
- All Known Subinterfaces:
ReactiveFindByQueryOperation.ReactiveFindByQuery<T>
- Enclosing interface:
- ReactiveFindByQueryOperation
public static interface ReactiveFindByQueryOperation.FindByQueryWithDistinct<T>
extends ReactiveFindByQueryOperation.FindByQueryWithProjecting<T>, WithDistinct<T>
Fluent method to specify DISTINCT fields
-
Method Summary
Modifier and TypeMethodDescriptionFinds the distinct values for a specified field across a single or view.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.FindByQueryWithProjecting
project
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
-
distinct
Finds the distinct values for a specified field across a single or view.- Specified by:
distinct
in interfaceWithDistinct<T>
- Parameters:
distinctFields
- name of the field. Must not be null.- Returns:
- new instance of
ReactiveFindByQueryOperation.ReactiveFindByQuery
. - Throws:
IllegalArgumentException
- if field is null.
-