All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.babyfish.jimmer.sql.ast.mutation.DeleteResult Maven / Gradle / Ivy

There is a newer version: 0.9.19
Show newest version
package org.babyfish.jimmer.sql.ast.mutation;

import java.util.Map;

public class DeleteResult extends AbstractMutationResult {

    public DeleteResult(Map affectedRowCountMap) {
        super(affectedRowCountMap);
    }

    @Override
    public int hashCode() {
        return affectedRowCountMap.hashCode();
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        DeleteResult that = (DeleteResult) o;
        return affectedRowCountMap.equals(that.affectedRowCountMap);
    }

    @Override
    public String toString() {
        return "DeleteResult{" +
                "totalAffectedRowCount=" + totalAffectedRowCount +
                ", tableAffectedRowCountMap=" + affectedRowCountMap +
                '}';
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy