Interface ExecutableFindByIdOperation.TerminatingFindById<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
OneAndAllId<T>
- All Known Subinterfaces:
ExecutableFindByIdOperation.ExecutableFindById<T>, ExecutableFindByIdOperation.FindByIdInCollection<T>, ExecutableFindByIdOperation.FindByIdInScope<T>, ExecutableFindByIdOperation.FindByIdWithExpiry<T>, ExecutableFindByIdOperation.FindByIdWithLock<T>, ExecutableFindByIdOperation.FindByIdWithOptions<T>, ExecutableFindByIdOperation.FindByIdWithProjection<T>
- Enclosing interface:
ExecutableFindByIdOperation
Terminating operations invoking the actual execution.
- Since:
- 2.0
- Author:
- Christoph Strobl, Tigran Babloyan
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends T> all(Collection<String> ids) Finds a list of documents based on the given IDs.Finds one document based on the given ID.
-
Method Details
-
one
Finds one document based on the given ID.- Specified by:
onein interfaceOneAndAllId<T>- Parameters:
id- the document ID.- Returns:
- the entity if found.
-
all
Finds a list of documents based on the given IDs.- Specified by:
allin interfaceOneAndAllId<T>- Parameters:
ids- the document ID ids.- Returns:
- the list of found entities.
-