Interface ExecutableRangeScanOperation.RangeScanWithProjection<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
ConsistentWith<T>,ExecutableRangeScanOperation.RangeScanConsistentWith<T>,ExecutableRangeScanOperation.RangeScanInCollection<T>,ExecutableRangeScanOperation.RangeScanInScope<T>,ExecutableRangeScanOperation.RangeScanWithOptions<T>,ExecutableRangeScanOperation.RangeScanWithSort<T>,ExecutableRangeScanOperation.TerminatingRangeScan<T>,InCollection<T>,InScope<T>,WithScanOptions<T>,WithScanSort<T>
- All Known Subinterfaces:
ExecutableRangeScanOperation.ExecutableRangeScan<T>,ExecutableRangeScanOperation.RangeScanWithBatchByteLimit<T>,ExecutableRangeScanOperation.RangeScanWithBatchItemLimit<T>
- Enclosing interface:
- ExecutableRangeScanOperation
public static interface ExecutableRangeScanOperation.RangeScanWithProjection<T>
extends ExecutableRangeScanOperation.RangeScanConsistentWith<T>
Fluent method to specify a return type different than the the entity type to use for the results.
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.RangeScanConsistentWith
consistentWithMethods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.RangeScanInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.RangeScanInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.RangeScanWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.RangeScanWithSort
withSortMethods inherited from interface org.springframework.data.couchbase.core.ExecutableRangeScanOperation.TerminatingRangeScan
rangeScan, rangeScanIds, samplingScan, samplingScanIds
-
Method Details
-
as
Define the target type fields should be mapped to.
Skip this step if you are only interested in the original the entity type to use for the results.- Parameters:
returnType- must not be null.- Returns:
- new instance of
ExecutableFindByQueryOperation.FindByQueryWithProjection. - Throws:
IllegalArgumentException- if returnType is null.
-