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

com.xlrit.gears.base.snel.Operator Maven / Gradle / Ivy

There is a newer version: 1.17.5
Show newest version
package com.xlrit.gears.base.snel;

/*
 * prefixOp    : '-'   | 'not'                   ;
 * postfixOp   : 'exists'     | 'does not exist' ;
 * mulOp       : '*'   | '/'  | '%'              ;
 * addOp       : '+'   | '-'                     ;
 * eqOp        : '=='  | '<>' | 'like'           ;
 * relOp       : '<'   | '>'  | '<=' | '>='      ;
 * memberOp    : 'in'  | 'contains'              ;
 * andOp       : 'and' | '&&'                    ;
 * orOp        : 'or'  | '||'                    ;
 * otherwiseOp : 'otherwise'                     ;
 */
public class Operator {
	public static final String NEG       = "-";              // prefix
	public static final String NOT       = "not";
	public static final String EXISTS    = "exists";         // postfix
	public static final String NEXISTS   = "does not exist";
	public static final String MUL       = "*";              // mul
	public static final String DIV       = "/";
	public static final String MOD       = "%";
	public static final String PLUS      = "+";              // add
	public static final String MINUS     = "-";
	public static final String EQ        = "==";             // eq
	public static final String NE        = "<>";
	public static final String LIKE      = "like";
	public static final String LT        = "<";              // rel
	public static final String LE        = "<=";
	public static final String GT        = ">";
	public static final String GE        = ">=";
	public static final String IN        = "in";             // member
	public static final String CONTAINS  = "contains";
	public static final String AND       = "and";            // and
	public static final String OR        = "or";             // or
	public static final String OTHERWISE = "otherwise";      // otherwise
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy