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

protobuf4j.orm.sql.ISqlOperator Maven / Gradle / Ivy

The newest version!
package protobuf4j.orm.sql;

import static com.google.common.base.Preconditions.*;

/**
 * 访问者模式解耦具体表达式的sql语句构造逻辑
 * 

* * author: yuanwq * date: 2018/7/11 */ public interface ISqlOperator { /** * 构造sql语句中的运算符形式,两边包括必要的空格 */ String getOp(); /** * 校验操作符两侧的表达式参数 */ default void checkExpression(IExpression left, IExpression right) { checkNotNull(left, "left expr is null"); checkNotNull(right, "right expr is null"); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy