public Builder withGenerateNewQueryId(boolean generateNewQueryId) {
      this.generateNewQueryId = generateNewQueryId;
      return this;
    }
Set this to true if new queryId should be generated, otherwise the original one will be kept.
If not set the default value is false.
@param generateNewQueryId If new queryId should be generated
@return The builder
ql/src/java/org/apache/hadoop/hive/ql/QueryState.java