Interface ReactiveFindOperation.FindWithCollection<T>
- All Superinterfaces:
ReactiveFindOperation.FindWithQuery<T>, ReactiveFindOperation.TerminatingFind<T>, ReactiveFindOperation.TerminatingProjection, ReactiveFindOperation.TerminatingResults<T>
- All Known Subinterfaces:
ReactiveFindOperation.ReactiveFind<T>
- Enclosing interface:
ReactiveFindOperation
public static interface ReactiveFindOperation.FindWithCollection<T>
extends ReactiveFindOperation.FindWithQuery<T>
Collection override (optional).
- Since:
- 2.0
- Author:
- Mark Paluch, Christoph Strobl, Juergen Zimmermann
-
Method Summary
Modifier and TypeMethodDescriptioninCollection(String collection) Explicitly set the name of the collection to perform the query on.Methods inherited from interface ReactiveFindOperation.FindWithQuery
matching, matching, nearMethods inherited from interface ReactiveFindOperation.TerminatingProjection
count, exists
-
Method Details
-
inCollection
Explicitly set the name of the collection to perform the query on.
Skip this step to use the default collection derived from the domain type.- Parameters:
collection- must not be null nor empty.- Returns:
- new instance of
ReactiveFindOperation.FindWithProjection. - Throws:
IllegalArgumentException- if collection is null.
-