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.
- Since:
- 2.0
- Author:
- Christoph Strobl
-
Method Summary
Modifier and TypeMethodDescriptionDefine the target type fields should be mapped to.Methods inherited from interface ReactiveRangeScanOperation.RangeScanConsistentWith
consistentWithMethods inherited from interface ReactiveRangeScanOperation.RangeScanInCollection
inCollectionMethods inherited from interface ReactiveRangeScanOperation.RangeScanInScope
inScopeMethods inherited from interface ReactiveRangeScanOperation.RangeScanWithOptions
withOptionsMethods inherited from interface ReactiveRangeScanOperation.RangeScanWithSort
withSortMethods inherited from interface 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.
-