Interface ExecutableRangeScanOperation.RangeScanConsistentWith<T>
- Type Parameters:
T- the entity type to use for the results.
- All Superinterfaces:
ConsistentWith<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>, ExecutableRangeScanOperation.RangeScanWithProjection<T>
- Enclosing interface:
ExecutableRangeScanOperation
public static interface ExecutableRangeScanOperation.RangeScanConsistentWith<T>
extends ExecutableRangeScanOperation.RangeScanWithSort<T>, ConsistentWith<T>
Fluent method to specify scan consistency. Scan consistency may also come from an annotation.
- Author:
- Michael Reiche
-
Method Summary
Modifier and TypeMethodDescriptionconsistentWith(com.couchbase.client.java.kv.MutationState mutationState) Allows to override the default scan consistency.Methods 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
-
consistentWith
ExecutableRangeScanOperation.RangeScanWithSort<T> consistentWith(com.couchbase.client.java.kv.MutationState mutationState) Allows to override the default scan consistency.- Specified by:
consistentWithin interfaceConsistentWith<T>- Parameters:
mutationState- the custom scan consistency to use for this query.
-