T - the entity type to use for the results.public static interface ExecutableFindByQueryOperation.FindByQueryWithDistinct<T> extends ExecutableFindByQueryOperation.FindByQueryWithProjecting<T>, WithDistinct<T>
| Modifier and Type | Method and Description |
|---|---|
ExecutableFindByQueryOperation.FindByQueryWithProjection<T> |
distinct(String[] distinctFields)
Finds the distinct values for a specified field across a single collection
|
projectaswithConsistencyconsistentWithinScopeinCollectionwithOptionsmatching, matchingall, count, exists, first, firstValue, one, oneValue, streamExecutableFindByQueryOperation.FindByQueryWithProjection<T> distinct(String[] distinctFields)
distinct in interface WithDistinct<T>distinctFields - name of the field. Must not be null.ExecutableFindByQueryOperation.ExecutableFindByQuery.IllegalArgumentException - if field is null.Copyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.