Interface ReactiveRangeScanOperation.RangeScanWithProjection<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
ConsistentWith<T>,InCollection<T>,InScope<T>,ReactiveRangeScanOperation.RangeScanConsistentWith<T>,ReactiveRangeScanOperation.RangeScanInCollection<T>,ReactiveRangeScanOperation.RangeScanInScope<T>,ReactiveRangeScanOperation.RangeScanWithOptions<T>,ReactiveRangeScanOperation.RangeScanWithSort<T>,ReactiveRangeScanOperation.TerminatingRangeScan<T>,WithScanOptions<T>,WithScanSort<T>
- All Known Subinterfaces:
ReactiveRangeScanOperation.RangeScanWithBatchByteLimit<T>,ReactiveRangeScanOperation.RangeScanWithBatchItemLimit<T>,ReactiveRangeScanOperation.ReactiveRangeScan<T>
- Enclosing interface:
- ReactiveRangeScanOperation
public static interface ReactiveRangeScanOperation.RangeScanWithProjection<T>
extends ReactiveRangeScanOperation.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.ReactiveRangeScanOperation.RangeScanConsistentWith
consistentWithMethods inherited from interface org.springframework.data.couchbase.core.ReactiveRangeScanOperation.RangeScanInCollection
inCollectionMethods inherited from interface org.springframework.data.couchbase.core.ReactiveRangeScanOperation.RangeScanInScope
inScopeMethods inherited from interface org.springframework.data.couchbase.core.ReactiveRangeScanOperation.RangeScanWithOptions
withOptionsMethods inherited from interface org.springframework.data.couchbase.core.ReactiveRangeScanOperation.RangeScanWithSort
withSortMethods inherited from interface org.springframework.data.couchbase.core.ReactiveRangeScanOperation.TerminatingRangeScan
rangeScan, rangeScanIds, sampleScan, sampleScanIds
-
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
ReactiveFindByQueryOperation.FindByQueryWithProjection. - Throws:
IllegalArgumentException- if returnType is null.
-