Interface ExecutableFindOperation.DistinctWithQuery<T>
- All Superinterfaces:
ExecutableFindOperation.DistinctWithProjection
- All Known Subinterfaces:
ExecutableFindOperation.TerminatingDistinct<T>
- Enclosing interface:
- ExecutableFindOperation
public static interface ExecutableFindOperation.DistinctWithQuery<T>
extends ExecutableFindOperation.DistinctWithProjection
Result restrictions. Optional.
- Since:
- 2.1
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionmatching
(CriteriaDefinition criteria) Set the filtercriteria
to be used.Set the filter query to be used.Methods inherited from interface org.springframework.data.mongodb.core.ExecutableFindOperation.DistinctWithProjection
as
-
Method Details
-
matching
Set the filter query to be used.- Parameters:
query
- must not be null.- Returns:
- new instance of
ExecutableFindOperation.TerminatingDistinct
. - Throws:
IllegalArgumentException
- if query is null.
-
matching
Set the filtercriteria
to be used.- Parameters:
criteria
- must not be null.- Returns:
- new instance of
ExecutableFindOperation.TerminatingDistinct
. - Throws:
IllegalArgumentException
- if criteria is null.- Since:
- 3.0
-