code: public void injectParams(JsonObject queryJson) {
          if (this.serverSideTimeout != null) {
              queryJson.put("timeout", this.serverSideTimeout);
          }
  
          if (this.clientContextId != null) {
              queryJson.put("client_context_id", this.clientContextId);
          }
  
          if (pretty) {
              queryJson.put("pretty", true);
          }
  
          if (deferred) {
              queryJson.put("mode", "async");
          }
  
          if (this.rawParams != null) {
              for (Map.Entry<String, Object> entry : rawParams.entrySet()) {
                  queryJson.put(entry.getKey(), entry.getValue());
              }
          }
      }
docs: Modifies the given Analytics query (as a {@link JsonObject}) to reflect these {@link N1qlParams}.
  @param queryJson the Analytics query