cn.cliveyuan.robin.base.condition.SqlKeyword Maven / Gradle / Ivy
/*
* Copyright (c) 2020 Clive Yuan ([email protected]).
*/
package cn.cliveyuan.robin.base.condition;
/**
* SQL 保留关键字枚举
*
* @author Clive Yuan
* @date 2020/10/29
*/
public enum SqlKeyword {
IN("IN"),
NOT_IN("NOT IN"),
LIKE("LIKE"),
NOT_LIKE("NOT LIKE"),
EQ("="),
NE("<>"),
GT(">"),
GE(">="),
LT("<"),
LE("<="),
IS_NULL("IS NULL"),
IS_NOT_NULL("IS NOT NULL"),
BETWEEN("BETWEEN"),
NOT_BETWEEN("NOT BETWEEN"),
ASC("ASC"),
DESC("DESC");
private final String keyword;
SqlKeyword(String keyword) {
this.keyword = keyword;
}
public String getKeyword() {
return keyword;
}
}