in spanner/changestreams/src/main/java/com/example/spanner/changestreams/model/DataChangeRecord.java [154:173]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (!(o instanceof DataChangeRecord)) {
return false;
}
DataChangeRecord that = (DataChangeRecord) o;
return isLastRecordInTransactionInPartition == that.isLastRecordInTransactionInPartition
&& numberOfRecordsInTransaction == that.numberOfRecordsInTransaction
&& numberOfPartitionsInTransaction == that.numberOfPartitionsInTransaction
&& Objects.equals(commitTimestamp, that.commitTimestamp)
&& Objects.equals(serverTransactionId, that.serverTransactionId)
&& Objects.equals(recordSequence, that.recordSequence)
&& Objects.equals(tableName, that.tableName)
&& Objects.equals(rowType, that.rowType)
&& Objects.equals(mods, that.mods)
&& modType == that.modType
&& valueCaptureType == that.valueCaptureType;
}