Annotation Interface ScanConsistency
@Retention(RUNTIME)
@Target({METHOD,ANNOTATION_TYPE,TYPE})
@Documented
public @interface ScanConsistency
Scan Consistency Annotation
- Author:
- Michael Reiche
-
Optional Element Summary
-
Element Details
-
query
com.couchbase.client.java.query.QueryScanConsistency querySpecifies a custom scan consistency for N1QL queries.- Returns:
- the scan consistency configured, defaults to not bounded.
- Default:
- NOT_BOUNDED
-
analytics
com.couchbase.client.java.analytics.AnalyticsScanConsistency analyticsSpecifies a custom scan consistency for analytics queries.- Returns:
- the scan consistency configured, defaults to not bounded.
- Default:
- NOT_BOUNDED
-