1 2 package com.versant.core.ejb.query; 3 4 public interface EJBQLParserConstants { 5 6 int EOF = 0; 7 int LPAREN = 6; 8 int RPAREN = 7; 9 int LBRACE = 8; 10 int RBRACE = 9; 11 int LBRACKET = 10; 12 int RBRACKET = 11; 13 int SEMICOLON = 12; 14 int COMMA = 13; 15 int DOT = 14; 16 int QUESTION = 15; 17 int COLON = 16; 18 int EQ = 17; 19 int LT = 18; 20 int LE = 19; 21 int GT = 20; 22 int GE = 21; 23 int NE = 22; 24 int SELECT = 23; 25 int FROM = 24; 26 int DISTINCT = 25; 27 int OBJECT = 26; 28 int LEFT = 27; 29 int OUTER = 28; 30 int INNER = 29; 31 int JOIN = 30; 32 int FETCH = 31; 33 int IN = 32; 34 int AS = 33; 35 int UPDATE = 34; 36 int SET = 35; 37 int DELETE = 36; 38 int NEW = 37; 39 int AVG = 38; 40 int MAX = 39; 41 int MIN = 40; 42 int SUM = 41; 43 int COUNT = 42; 44 int WHERE = 43; 45 int GROUP = 44; 46 int BY = 45; 47 int HAVING = 46; 48 int OR = 47; 49 int AND = 48; 50 int NOT = 49; 51 int BETWEEN = 50; 52 int LIKE = 51; 53 int ESCAPE = 52; 54 int IS = 53; 55 int EMPTY = 54; 56 int MEMBER = 55; 57 int OF = 56; 58 int EXISTS = 57; 59 int ALL = 58; 60 int ANY = 59; 61 int SOME = 60; 62 int CONCAT = 61; 63 int SUBSTRING = 62; 64 int TRIM = 63; 65 int LOWER = 64; 66 int UPPER = 65; 67 int LEADING = 66; 68 int TRAILING = 67; 69 int BOTH = 68; 70 int LENGTH = 69; 71 int LOCATE = 70; 72 int ABS = 71; 73 int SQRT = 72; 74 int MOD = 73; 75 int BIT_LENGTH = 74; 76 int CURRENT_DATE = 75; 77 int CURRENT_TIME = 76; 78 int CURRENT_TIMESTAMP = 77; 79 int ORDER = 78; 80 int ASC = 79; 81 int DESC = 80; 82 int DECIMAL_LITERAL = 81; 83 int HEX_LITERAL = 82; 84 int OCTAL_LITERAL = 83; 85 int FLOATING_POINT_LITERAL = 84; 86 int EXPONENT = 85; 87 int CHARACTER_LITERAL = 86; 88 int NULL = 87; 89 int BOOLEAN_LITERAL = 88; 90 int STRING_LITERAL = 89; 91 int IDENTIFIER = 90; 92 int LETTER = 91; 93 int DIGIT = 92; 94 95 int DEFAULT = 0; 96 97 String [] tokenImage = { 98 "<EOF>", 99 "\" \"", 100 "\"\\t\"", 101 "\"\\n\"", 102 "\"\\r\"", 103 "\"\\f\"", 104 "\"(\"", 105 "\")\"", 106 "\"{\"", 107 "\"}\"", 108 "\"[\"", 109 "\"]\"", 110 "\";\"", 111 "\",\"", 112 "\".\"", 113 "\"?\"", 114 "\":\"", 115 "\"=\"", 116 "\"<\"", 117 "\"<=\"", 118 "\">\"", 119 "\">=\"", 120 "\"<>\"", 121 "<SELECT>", 122 "<FROM>", 123 "<DISTINCT>", 124 "<OBJECT>", 125 "<LEFT>", 126 "<OUTER>", 127 "<INNER>", 128 "<JOIN>", 129 "<FETCH>", 130 "<IN>", 131 "<AS>", 132 "<UPDATE>", 133 "<SET>", 134 "<DELETE>", 135 "<NEW>", 136 "<AVG>", 137 "<MAX>", 138 "<MIN>", 139 "<SUM>", 140 "<COUNT>", 141 "<WHERE>", 142 "<GROUP>", 143 "<BY>", 144 "<HAVING>", 145 "<OR>", 146 "<AND>", 147 "<NOT>", 148 "<BETWEEN>", 149 "<LIKE>", 150 "<ESCAPE>", 151 "<IS>", 152 "<EMPTY>", 153 "<MEMBER>", 154 "<OF>", 155 "<EXISTS>", 156 "<ALL>", 157 "<ANY>", 158 "<SOME>", 159 "<CONCAT>", 160 "<SUBSTRING>", 161 "<TRIM>", 162 "<LOWER>", 163 "<UPPER>", 164 "<LEADING>", 165 "<TRAILING>", 166 "<BOTH>", 167 "<LENGTH>", 168 "<LOCATE>", 169 "<ABS>", 170 "<SQRT>", 171 "<MOD>", 172 "<BIT_LENGTH>", 173 "<CURRENT_DATE>", 174 "<CURRENT_TIME>", 175 "<CURRENT_TIMESTAMP>", 176 "<ORDER>", 177 "<ASC>", 178 "<DESC>", 179 "<DECIMAL_LITERAL>", 180 "<HEX_LITERAL>", 181 "<OCTAL_LITERAL>", 182 "<FLOATING_POINT_LITERAL>", 183 "<EXPONENT>", 184 "<CHARACTER_LITERAL>", 185 "<NULL>", 186 "<BOOLEAN_LITERAL>", 187 "<STRING_LITERAL>", 188 "<IDENTIFIER>", 189 "<LETTER>", 190 "<DIGIT>", 191 "\"+\"", 192 "\"-\"", 193 "\"*\"", 194 "\"/\"", 195 }; 196 197 } 198 | Popular Tags |