in amoro-common/src/main/gen-java/org/apache/amoro/api/Schema.java [425:468]
public boolean equals(Schema that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_columns = true && this.isSetColumns();
boolean that_present_columns = true && that.isSetColumns();
if (this_present_columns || that_present_columns) {
if (!(this_present_columns && that_present_columns))
return false;
if (!this.columns.equals(that.columns))
return false;
}
boolean this_present_pks = true && this.isSetPks();
boolean that_present_pks = true && that.isSetPks();
if (this_present_pks || that_present_pks) {
if (!(this_present_pks && that_present_pks))
return false;
if (!this.pks.equals(that.pks))
return false;
}
boolean this_present_partitionColumns = true && this.isSetPartitionColumns();
boolean that_present_partitionColumns = true && that.isSetPartitionColumns();
if (this_present_partitionColumns || that_present_partitionColumns) {
if (!(this_present_partitionColumns && that_present_partitionColumns))
return false;
if (!this.partitionColumns.equals(that.partitionColumns))
return false;
}
boolean this_present_sortColumns = true && this.isSetSortColumns();
boolean that_present_sortColumns = true && that.isSetSortColumns();
if (this_present_sortColumns || that_present_sortColumns) {
if (!(this_present_sortColumns && that_present_sortColumns))
return false;
if (!this.sortColumns.equals(that.sortColumns))
return false;
}
return true;
}