Interface ExecutableFindOperation.FindWithCollection<T>
- All Superinterfaces:
ExecutableFindOperation.FindWithQuery<T>, ExecutableFindOperation.TerminatingFind<T>, ExecutableFindOperation.TerminatingProjection, ExecutableFindOperation.TerminatingResults<T>
- All Known Subinterfaces:
ExecutableFindOperation.ExecutableFind<T>
- Enclosing interface:
ExecutableFindOperation
public static interface ExecutableFindOperation.FindWithCollection<T>
extends ExecutableFindOperation.FindWithQuery<T>
Collection override (Optional).
- Since:
- 2.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptioninCollection(String collection) Explicitly set the name of the collection to perform the query on.Methods inherited from interface ExecutableFindOperation.FindWithQuery
matching, matching, nearMethods inherited from interface ExecutableFindOperation.TerminatingProjection
count, existsMethods inherited from interface ExecutableFindOperation.TerminatingResults
all, first, firstValue, map, one, oneValue, scroll, stream
-
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
ExecutableFindOperation.FindWithProjection. - Throws:
IllegalArgumentException- if collection is null.
-