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

db.sql.api.impl.cmd.basic.ConditionTemplate Maven / Gradle / Ivy

There is a newer version: 1.7.6-RC2
Show newest version
package db.sql.api.impl.cmd.basic;

import db.sql.api.Cmd;
import db.sql.api.cmd.basic.ICondition;

/**
 * 条件SQL模板类
 * 采用MessageFormat.format格式化模板
 */
public class ConditionTemplate extends BaseTemplate implements ICondition {

    public ConditionTemplate(String template, Object... params) {
        super(template, params);
    }

    public ConditionTemplate(String template, Cmd... params) {
        super(template, params);
    }

    public static ConditionTemplate create(String template, Object... params) {
        return new ConditionTemplate(template, params);
    }

    public static ConditionTemplate create(String template, Cmd... params) {
        return new ConditionTemplate(template, params);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy