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