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

    hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(id);

    hashCode = hashCode * 8191 + ((isSetDbname()) ? 131071 : 524287);
    if (isSetDbname())
      hashCode = hashCode * 8191 + dbname.hashCode();

    hashCode = hashCode * 8191 + ((isSetTablename()) ? 131071 : 524287);
    if (isSetTablename())
      hashCode = hashCode * 8191 + tablename.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionname()) ? 131071 : 524287);
    if (isSetPartitionname())
      hashCode = hashCode * 8191 + partitionname.hashCode();

    hashCode = hashCode * 8191 + ((isSetType()) ? 131071 : 524287);
    if (isSetType())
      hashCode = hashCode * 8191 + type.getValue();

    hashCode = hashCode * 8191 + ((isSetRunas()) ? 131071 : 524287);
    if (isSetRunas())
      hashCode = hashCode * 8191 + runas.hashCode();

    hashCode = hashCode * 8191 + ((isSetProperties()) ? 131071 : 524287);
    if (isSetProperties())
      hashCode = hashCode * 8191 + properties.hashCode();

    hashCode = hashCode * 8191 + ((isSetToomanyaborts()) ? 131071 : 524287);
    if (isSetToomanyaborts())
      hashCode = hashCode * 8191 + ((toomanyaborts) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetState()) ? 131071 : 524287);
    if (isSetState())
      hashCode = hashCode * 8191 + state.hashCode();

    hashCode = hashCode * 8191 + ((isSetWorkerId()) ? 131071 : 524287);
    if (isSetWorkerId())
      hashCode = hashCode * 8191 + workerId.hashCode();

    hashCode = hashCode * 8191 + ((isSetStart()) ? 131071 : 524287);
    if (isSetStart())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(start);

    hashCode = hashCode * 8191 + ((isSetHighestWriteId()) ? 131071 : 524287);
    if (isSetHighestWriteId())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(highestWriteId);

    hashCode = hashCode * 8191 + ((isSetErrorMessage()) ? 131071 : 524287);
    if (isSetErrorMessage())
      hashCode = hashCode * 8191 + errorMessage.hashCode();

    hashCode = hashCode * 8191 + ((isSetHasoldabort()) ? 131071 : 524287);
    if (isSetHasoldabort())
      hashCode = hashCode * 8191 + ((hasoldabort) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetEnqueueTime()) ? 131071 : 524287);
    if (isSetEnqueueTime())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(enqueueTime);

    hashCode = hashCode * 8191 + ((isSetRetryRetention()) ? 131071 : 524287);
    if (isSetRetryRetention())
      hashCode = hashCode * 8191 + org.apache.thrift.TBaseHelper.hashCode(retryRetention);

    hashCode = hashCode * 8191 + ((isSetPoolname()) ? 131071 : 524287);
    if (isSetPoolname())
      hashCode = hashCode * 8191 + poolname.hashCode();

    hashCode = hashCode * 8191 + ((isSetNumberOfBuckets()) ? 131071 : 524287);
    if (isSetNumberOfBuckets())
      hashCode = hashCode * 8191 + numberOfBuckets;

    hashCode = hashCode * 8191 + ((isSetOrderByClause()) ? 131071 : 524287);
    if (isSetOrderByClause())
      hashCode = hashCode * 8191 + orderByClause.hashCode();

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