Annotation Interface ScanConsistency


@Retention(RUNTIME) @Target({METHOD,ANNOTATION_TYPE,TYPE}) @Documented public @interface ScanConsistency
Scan Consistency Annotation
Author:
Michael Reiche
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    com.couchbase.client.java.analytics.AnalyticsScanConsistency
    Specifies a custom scan consistency for analytics queries.
    com.couchbase.client.java.query.QueryScanConsistency
    Specifies a custom scan consistency for N1QL queries.
  • Element Details

    • query

      com.couchbase.client.java.query.QueryScanConsistency query
      Specifies 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 analytics
      Specifies a custom scan consistency for analytics queries.
      Returns:
      the scan consistency configured, defaults to not bounded.
      Default:
      NOT_BOUNDED