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

    hashCode = hashCode * 8191 + ((isSetTableName()) ? 131071 : 524287);
    if (isSetTableName())
      hashCode = hashCode * 8191 + tableName.hashCode();

    hashCode = hashCode * 8191 + ((isSetDbName()) ? 131071 : 524287);
    if (isSetDbName())
      hashCode = hashCode * 8191 + dbName.hashCode();

    hashCode = hashCode * 8191 + ((isSetOwner()) ? 131071 : 524287);
    if (isSetOwner())
      hashCode = hashCode * 8191 + owner.hashCode();

    hashCode = hashCode * 8191 + createTime;

    hashCode = hashCode * 8191 + lastAccessTime;

    hashCode = hashCode * 8191 + retention;

    hashCode = hashCode * 8191 + ((isSetSd()) ? 131071 : 524287);
    if (isSetSd())
      hashCode = hashCode * 8191 + sd.hashCode();

    hashCode = hashCode * 8191 + ((isSetPartitionKeys()) ? 131071 : 524287);
    if (isSetPartitionKeys())
      hashCode = hashCode * 8191 + partitionKeys.hashCode();

    hashCode = hashCode * 8191 + ((isSetParameters()) ? 131071 : 524287);
    if (isSetParameters())
      hashCode = hashCode * 8191 + parameters.hashCode();

    hashCode = hashCode * 8191 + ((isSetViewOriginalText()) ? 131071 : 524287);
    if (isSetViewOriginalText())
      hashCode = hashCode * 8191 + viewOriginalText.hashCode();

    hashCode = hashCode * 8191 + ((isSetViewExpandedText()) ? 131071 : 524287);
    if (isSetViewExpandedText())
      hashCode = hashCode * 8191 + viewExpandedText.hashCode();

    hashCode = hashCode * 8191 + ((isSetTableType()) ? 131071 : 524287);
    if (isSetTableType())
      hashCode = hashCode * 8191 + tableType.hashCode();

    hashCode = hashCode * 8191 + ((isSetPrivileges()) ? 131071 : 524287);
    if (isSetPrivileges())
      hashCode = hashCode * 8191 + privileges.hashCode();

    hashCode = hashCode * 8191 + ((isSetTemporary()) ? 131071 : 524287);
    if (isSetTemporary())
      hashCode = hashCode * 8191 + ((temporary) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetRewriteEnabled()) ? 131071 : 524287);
    if (isSetRewriteEnabled())
      hashCode = hashCode * 8191 + ((rewriteEnabled) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetCreationMetadata()) ? 131071 : 524287);
    if (isSetCreationMetadata())
      hashCode = hashCode * 8191 + creationMetadata.hashCode();

    hashCode = hashCode * 8191 + ((isSetCatName()) ? 131071 : 524287);
    if (isSetCatName())
      hashCode = hashCode * 8191 + catName.hashCode();

    hashCode = hashCode * 8191 + ((isSetOwnerType()) ? 131071 : 524287);
    if (isSetOwnerType())
      hashCode = hashCode * 8191 + ownerType.getValue();

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

    hashCode = hashCode * 8191 + ((isSetIsStatsCompliant()) ? 131071 : 524287);
    if (isSetIsStatsCompliant())
      hashCode = hashCode * 8191 + ((isStatsCompliant) ? 131071 : 524287);

    hashCode = hashCode * 8191 + ((isSetColStats()) ? 131071 : 524287);
    if (isSetColStats())
      hashCode = hashCode * 8191 + colStats.hashCode();

    hashCode = hashCode * 8191 + ((isSetAccessType()) ? 131071 : 524287);
    if (isSetAccessType())
      hashCode = hashCode * 8191 + (int) (accessType);

    hashCode = hashCode * 8191 + ((isSetRequiredReadCapabilities()) ? 131071 : 524287);
    if (isSetRequiredReadCapabilities())
      hashCode = hashCode * 8191 + requiredReadCapabilities.hashCode();

    hashCode = hashCode * 8191 + ((isSetRequiredWriteCapabilities()) ? 131071 : 524287);
    if (isSetRequiredWriteCapabilities())
      hashCode = hashCode * 8191 + requiredWriteCapabilities.hashCode();

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

    hashCode = hashCode * 8191 + ((isSetFileMetadata()) ? 131071 : 524287);
    if (isSetFileMetadata())
      hashCode = hashCode * 8191 + fileMetadata.hashCode();

    hashCode = hashCode * 8191 + ((isSetDictionary()) ? 131071 : 524287);
    if (isSetDictionary())
      hashCode = hashCode * 8191 + dictionary.hashCode();

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

    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/Table.java