code: public N1qlParams consistency(ScanConsistency consistency) {
          this.consistency = consistency;
          if (consistency == ScanConsistency.NOT_BOUNDED) {
              this.scanWait = null;
          }
          return this;
      }
docs: Sets scan consistency.
  
  Note that {@link ScanConsistency#NOT_BOUNDED NOT_BOUNDED} will unset the {@link #scanWait} if it was set.
  
  @return this {@link N1qlParams} for chaining.