protobuf4j.orm.sql.expr.ArithmeticOp Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of protobuf4j-sql Show documentation
Show all versions of protobuf4j-sql Show documentation
A Facility Framework to Develop with Google Protobuf
The newest version!
package protobuf4j.orm.sql.expr;
import protobuf4j.orm.sql.ISqlOperator;
/**
* author: yuanwq
* date: 2018/7/11
*/
public enum ArithmeticOp implements ISqlOperator {
ADD("+"),
SUBTRACT("-"),
MULTIPLY("*"),
DIVIDE("/"),
DIV_ROUND(" DIV "),
MOD(" MOD ");
private final String op;
ArithmeticOp(String op) {
this.op = op;
}
@Override
public String getOp() {
return op;
}
}