Interface ExecutableFindByIdOperation.FindByIdWithProjection<T>
- All Superinterfaces:
ExecutableFindByIdOperation.FindByIdInCollection<T>, ExecutableFindByIdOperation.FindByIdInScope<T>, ExecutableFindByIdOperation.FindByIdWithOptions<T>, ExecutableFindByIdOperation.TerminatingFindById<T>, InCollection<T>, InScope<T>, OneAndAllId<T>, WithGetOptions<T>, WithProjectionId<T>
- All Known Subinterfaces:
ExecutableFindByIdOperation.ExecutableFindById<T>, ExecutableFindByIdOperation.FindByIdWithExpiry<T>, ExecutableFindByIdOperation.FindByIdWithLock<T>
- Enclosing interface:
ExecutableFindByIdOperation
public static interface ExecutableFindByIdOperation.FindByIdWithProjection<T>
extends ExecutableFindByIdOperation.FindByIdInScope<T>, WithProjectionId<T>
- Since:
- 2.0
- Author:
- Christoph Strobl, Tigran Babloyan
-
Method Summary
Modifier and TypeMethodDescriptionLoad only certain fields for the document.Methods inherited from interface ExecutableFindByIdOperation.FindByIdInCollection
inCollectionMethods inherited from interface ExecutableFindByIdOperation.FindByIdInScope
inScopeMethods inherited from interface ExecutableFindByIdOperation.FindByIdWithOptions
withOptionsMethods inherited from interface ExecutableFindByIdOperation.TerminatingFindById
all, one
-
Method Details
-
project
Load only certain fields for the document.- Specified by:
projectin interfaceWithProjectionId<T>- Parameters:
fields- the projected fields to load.
-