com.minlia.cloud.body.query.QueryOperator Maven / Gradle / Ivy
package com.minlia.cloud.body.query;
/**
* 运算符
*/
public enum QueryOperator {
/**
* 等于
*/
eq("="),
/**
* 不等于
*/
ne("!="),
/**
* 大于
*/
gt(">"),
/**
* 小于
*/
lt("<"),
/**
* 大于等于
*/
ge(">="),
/**
* 小于等于
*/
le("<="),
/**
* 类似
*/
like("like"),
/**
* 类似
*/
between("between"),
/**
* 包含
*/
in("in"),
/**
* 包含
*/
notIn("not in"),
/**
* 为Null
*/
isNull("is Null"),
/**
* 不为Null
*/
isNotNull("is Not Null");
private String operator;
QueryOperator(String operator) {
this.operator = operator;
}
public String getOperator() {
return operator;
}
public void setOperator(String operator) {
this.operator = operator;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy