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