@Override
  public int hashCode() {
    int hashCode = 1;

    hashCode = hashCode * 8191 + ((isSetQueryId()) ? 131071 : 524287);
    if (isSetQueryId())
      hashCode = hashCode * 8191 + queryId.hashCode();

    hashCode = hashCode * 8191 + ((isSetQueryType()) ? 131071 : 524287);
    if (isSetQueryType())
      hashCode = hashCode * 8191 + queryType.hashCode();

    hashCode = hashCode * 8191 + ((isSetQueryAttributes()) ? 131071 : 524287);
    if (isSetQueryAttributes())
      hashCode = hashCode * 8191 + queryAttributes.hashCode();

    hashCode = hashCode * 8191 + ((isSetQueryCounters()) ? 131071 : 524287);
    if (isSetQueryCounters())
      hashCode = hashCode * 8191 + queryCounters.hashCode();

    hashCode = hashCode * 8191 + ((isSetStageGraph()) ? 131071 : 524287);
    if (isSetStageGraph())
      hashCode = hashCode * 8191 + stageGraph.hashCode();

    hashCode = hashCode * 8191 + ((isSetStageList()) ? 131071 : 524287);
    if (isSetStageList())
      hashCode = hashCode * 8191 + stageList.hashCode();

    hashCode = hashCode * 8191 + ((done) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((started) ? 131071 : 524287);

    return hashCode;
  }
Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise
ql/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/ql/plan/api/Query.java