in amoro-common/src/main/gen-java/org/apache/amoro/api/TableChange.java [489:550]
public boolean equals(TableChange that) {
if (that == null)
return false;
if (this == that)
return true;
boolean this_present_innerTable = true && this.isSetInnerTable();
boolean that_present_innerTable = true && that.isSetInnerTable();
if (this_present_innerTable || that_present_innerTable) {
if (!(this_present_innerTable && that_present_innerTable))
return false;
if (!this.innerTable.equals(that.innerTable))
return false;
}
boolean this_present_addFiles = true && this.isSetAddFiles();
boolean that_present_addFiles = true && that.isSetAddFiles();
if (this_present_addFiles || that_present_addFiles) {
if (!(this_present_addFiles && that_present_addFiles))
return false;
if (!this.addFiles.equals(that.addFiles))
return false;
}
boolean this_present_deleteFiles = true && this.isSetDeleteFiles();
boolean that_present_deleteFiles = true && that.isSetDeleteFiles();
if (this_present_deleteFiles || that_present_deleteFiles) {
if (!(this_present_deleteFiles && that_present_deleteFiles))
return false;
if (!this.deleteFiles.equals(that.deleteFiles))
return false;
}
boolean this_present_snapshotId = true;
boolean that_present_snapshotId = true;
if (this_present_snapshotId || that_present_snapshotId) {
if (!(this_present_snapshotId && that_present_snapshotId))
return false;
if (this.snapshotId != that.snapshotId)
return false;
}
boolean this_present_snapshotSequence = true;
boolean that_present_snapshotSequence = true;
if (this_present_snapshotSequence || that_present_snapshotSequence) {
if (!(this_present_snapshotSequence && that_present_snapshotSequence))
return false;
if (this.snapshotSequence != that.snapshotSequence)
return false;
}
boolean this_present_parentSnapshotId = true;
boolean that_present_parentSnapshotId = true;
if (this_present_parentSnapshotId || that_present_parentSnapshotId) {
if (!(this_present_parentSnapshotId && that_present_parentSnapshotId))
return false;
if (this.parentSnapshotId != that.parentSnapshotId)
return false;
}
return true;
}