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

com.firefly.db.jdbc.helper.namedparam.PreparedSqlAndValues Maven / Gradle / Ivy

There is a newer version: 5.0.0-dev6
Show newest version
package com.firefly.db.jdbc.helper.namedparam;

import java.util.Collections;
import java.util.List;

/**
 * @author Pengtao Qiu
 */
public class PreparedSqlAndValues {

    private final String preparedSql;
    private final List values;

    public PreparedSqlAndValues(String preparedSql, List values) {
        this.preparedSql = preparedSql;
        this.values = values;
    }

    public String getPreparedSql() {
        return preparedSql;
    }

    public List getValues() {
        return Collections.unmodifiableList(values);
    }
}