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

x7.core.bean.Predicate Maven / Gradle / Ivy

There is a newer version: 2.2.7.RELEASE
Show newest version
package x7.core.bean;

public enum Predicate implements SqlScript{

	EQ(" = "),
	LT(" < "),
	GT(" > "),
	LTE(" <= "),
	GTE(" >= "),
	NE(" <> "),
	LIKE(" LIKE "),
	NOT_LIKE(" NOT LIKE "),
	IN(" IN "),
	NOT_IN(" NOT IN "),
	IS_NOT_NULL(" IS NOT NULL "),
	IS_NULL(" IS NULL "),
	BETWEEN(" BETWEEN "),
	SUB_BEGIN("( "),
	SUB_END(" )"),
	SUB(" SUB "),
	X("X");

	private String sqlOper;
	private Predicate(String sqlOper){
		this.sqlOper = sqlOper;
	}
	@Override
	public String sql(){
		return this.sqlOper;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy