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>
-
Method Summary
Modifier and TypeMethodDescriptionLoad only certain fields for the document.Methods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByIdOperation.FindByIdInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByIdOperation.FindByIdInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ExecutableFindByIdOperation.FindByIdWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.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.
-