001/** 002 * 003 * Copyright (c) 2014, the Railo Company Ltd. All rights reserved. 004 * 005 * This library is free software; you can redistribute it and/or 006 * modify it under the terms of the GNU Lesser General Public 007 * License as published by the Free Software Foundation; either 008 * version 2.1 of the License, or (at your option) any later version. 009 * 010 * This library is distributed in the hope that it will be useful, 011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 013 * Lesser General Public License for more details. 014 * 015 * You should have received a copy of the GNU Lesser General Public 016 * License along with this library. If not, see <http://www.gnu.org/licenses/>. 017 * 018 **/ 019package lucee.runtime.sql.exp.op; 020 021import lucee.runtime.sql.exp.Expression; 022 023public interface Operation extends Expression { 024 025 public static final int OPERATION2_PLUS=0; 026 public static final int OPERATION2_MINUS=1; 027 public static final int OPERATION2_MULTIPLY=2; 028 public static final int OPERATION2_DIVIDE=3; 029 public static final int OPERATION2_EXP=4; 030 public static final int OPERATION2_MOD=5; 031 032 public static final int OPERATION2_XOR=10; 033 public static final int OPERATION2_OR=11; 034 public static final int OPERATION2_AND=12; 035 036 public static final int OPERATION2_EQ=13; 037 public static final int OPERATION2_NEQ=14; 038 public static final int OPERATION2_LT=15; 039 public static final int OPERATION2_LTE=16; 040 public static final int OPERATION2_GT=17; 041 public static final int OPERATION2_GTE=18; 042 public static final int OPERATION2_LTGT=19; 043 public static final int OPERATION2_NOT_LIKE=20; 044 public static final int OPERATION2_LIKE=21; 045 046 public static final int OPERATION1_PLUS=30; 047 public static final int OPERATION1_MINUS=31; 048 public static final int OPERATION1_NOT=32; 049 public static final int OPERATION1_IS_NULL=33; 050 public static final int OPERATION1_IS_NOT_NULL=34; 051 052 public static final int OPERATION3_BETWEEN=50; 053 public static final int OPERATION3_LIKE = 51; 054}