class DeleteDataChange extends AbstractModifyDataChange {


    @Override
    public SqlStatement[] generateStatements(Database database) {

        DeleteStatement statement = new DeleteStatement(getCatalogName(), getSchemaName(), getTableName());

        statement.setWhere(where);

        for (ColumnConfig whereParam : whereParams) {
            if (whereParam.getName() != null) {
                statement.addWhereColumnName(whereParam.getName());
            }
            statement.addWhereParameter(whereParam.getValueObject());
        }

        return new SqlStatement[]{
                statement
        };
    }

    @Override
    public String getConfirmationMessage() {
        return "Data deleted from " + getTableName();
    }

    @Override
    public String getSerializedObjectNamespace() {
        return STANDARD_CHANGELOG_NAMESPACE;
    }

    @Override
    protected void customLoadLogic(ParsedNode parsedNode, ResourceAccessor resourceAccessor) throws ParsedNodeException {<FILL_FUNCTION_BODY>}

}

        ParsedNode whereParams = parsedNode.getChild(null, "whereParams");
        if (whereParams != null) {
            for (ParsedNode param : whereParams.getChildren(null, "param")) {
                ColumnConfig columnConfig = new ColumnConfig();
                try {
                    columnConfig.load(param, resourceAccessor);
                } catch (ParsedNodeException e) {
                    e.printStackTrace();
                }
                addWhereParam(columnConfig);
            }
        }
    
<methods>public non-sealed void <init>() ,public void addWhereParam(liquibase.change.ColumnConfig) ,public java.lang.String getCatalogName() ,public java.lang.String getSchemaName() ,public java.lang.String getTableName() ,public java.lang.String getWhere() ,public java.lang.String getWhereClause() ,public List<liquibase.change.ColumnConfig> getWhereParams() ,public void removeWhereParam(liquibase.change.ColumnConfig) ,public void setCatalogName(java.lang.String) ,public void setSchemaName(java.lang.String) ,public void setTableName(java.lang.String) ,public void setWhere(java.lang.String) ,public void setWhereClause(java.lang.String) <variables>protected java.lang.String catalogName,protected java.lang.String schemaName,protected java.lang.String tableName,protected java.lang.String where,protected List<liquibase.change.ColumnConfig> whereParams