1 19 package org.apache.cayenne.ejbql; 20 21 import org.apache.cayenne.ejbql.parser.EJBQLAggregateColumn; 22 import org.apache.cayenne.ejbql.parser.EJBQLFromItem; 23 import org.apache.cayenne.ejbql.parser.EJBQLJoin; 24 import org.apache.cayenne.ejbql.parser.EJBQLPath; 25 import org.apache.cayenne.ejbql.parser.EJBQLPositionalInputParameter; 26 27 34 public interface EJBQLExpressionVisitor { 35 36 boolean visitAbs(EJBQLExpression expression); 37 38 boolean visitAbstractSchemaName(EJBQLExpression expression); 39 40 48 boolean visitAdd(EJBQLExpression expression, int finishedChildIndex); 49 50 boolean visitAggregate(EJBQLExpression expression); 51 52 boolean visitAll(EJBQLExpression expression); 53 54 62 boolean visitAnd(EJBQLExpression expression, int finishedChildIndex); 63 64 boolean visitAny(EJBQLExpression expression); 65 66 boolean visitAscending(EJBQLExpression expression); 67 68 boolean visitAverage(EJBQLAggregateColumn expression); 69 70 79 boolean visitBetween(EJBQLExpression expression, int finishedChildIndex); 80 81 boolean visitBooleanLiteral(EJBQLExpression expression); 82 83 boolean visitClassName(EJBQLExpression expression); 84 85 boolean visitConcat(EJBQLExpression expression); 86 87 boolean visitConstructor(EJBQLExpression expression); 88 89 boolean visitConstructorParameter(EJBQLExpression expression); 90 91 boolean visitConstructorParameters(EJBQLExpression expression); 92 93 boolean visitCount(EJBQLAggregateColumn expression); 94 95 boolean visitCurrentDate(EJBQLExpression expression); 96 97 boolean visitCurrentTime(EJBQLExpression expression); 98 99 boolean visitCurrentTimestamp(EJBQLExpression expression); 100 101 boolean visitDecimalLiteral(EJBQLExpression expression); 102 103 boolean visitDelete(EJBQLExpression expression); 104 105 boolean visitDescending(EJBQLExpression expression); 106 107 boolean visitDistinct(EJBQLExpression expression); 108 109 118 boolean visitDivide(EJBQLExpression expression, int finishedChildIndex); 119 120 129 boolean visitEquals(EJBQLExpression expression, int finishedChildIndex); 130 131 boolean visitEscapeCharacter(EJBQLExpression expression); 132 133 boolean visitExists(EJBQLExpression expression); 134 135 boolean visitFrom(EJBQLExpression expression, int finishedChildIndex); 136 137 boolean visitFromItem(EJBQLFromItem expression); 138 139 147 boolean visitGreaterOrEqual(EJBQLExpression expression, int finishedChildIndex); 148 149 157 boolean visitGreaterThan(EJBQLExpression expression, int finishedChildIndex); 158 159 boolean visitGroupBy(EJBQLExpression expression); 160 161 boolean visitHaving(EJBQLExpression expression); 162 163 boolean visitIdentificationVariable(EJBQLExpression expression); 164 165 boolean visitIdentifier(EJBQLExpression expression); 166 167 boolean visitIn(EJBQLExpression expression); 168 169 boolean visitInnerFetchJoin(EJBQLJoin join); 170 171 boolean visitInnerJoin(EJBQLJoin join); 172 173 boolean visitIntegerLiteral(EJBQLExpression expression); 174 175 boolean visitIsEmpty(EJBQLExpression expression); 176 177 boolean visitIsNull(EJBQLExpression expression, int finishedChildIndex); 178 179 boolean visitLength(EJBQLExpression expression); 180 181 189 boolean visitLessOrEqual(EJBQLExpression expression, int finishedChildIndex); 190 191 199 boolean visitLessThan(EJBQLExpression expression, int finishedChildIndex); 200 201 210 boolean visitLike(EJBQLExpression expression, int finishedChildIndex); 211 212 boolean visitLocate(EJBQLExpression expression); 213 214 boolean visitLower(EJBQLExpression expression); 215 216 boolean visitMax(EJBQLAggregateColumn expression); 217 218 boolean visitMemberOf(EJBQLExpression expression); 219 220 boolean visitMin(EJBQLAggregateColumn expression); 221 222 boolean visitMod(EJBQLExpression expression); 223 224 232 boolean visitMultiply(EJBQLExpression expression, int finishedChildIndex); 233 234 boolean visitNamedInputParameter(EJBQLExpression expression); 235 236 boolean visitNegative(EJBQLExpression expression); 237 238 boolean visitNot(EJBQLExpression expression); 239 240 248 boolean visitNotEquals(EJBQLExpression expression, int finishedChildIndex); 249 250 258 boolean visitOr(EJBQLExpression expression, int finishedChildIndex); 259 260 boolean visitOrderBy(EJBQLExpression expression); 261 262 boolean visitOrderByItem(EJBQLExpression expression); 263 264 boolean visitOuterFetchJoin(EJBQLJoin join); 265 266 boolean visitOuterJoin(EJBQLJoin join); 267 268 277 boolean visitPath(EJBQLPath expression, int finishedChildIndex); 278 279 boolean visitPatternValue(EJBQLExpression expression); 280 281 boolean visitPositionalInputParameter(EJBQLPositionalInputParameter expression); 282 283 boolean visitSelect(EJBQLExpression expression); 284 285 boolean visitSelectExpression(EJBQLExpression expression); 286 287 boolean visitSelectExpressions(EJBQLExpression expression); 288 289 boolean visitSize(EJBQLExpression expression); 290 291 boolean visitSqrt(EJBQLExpression expression); 292 293 boolean visitStringLiteral(EJBQLExpression expression); 294 295 boolean visitSubselect(EJBQLExpression expression); 296 297 boolean visitSubstring(EJBQLExpression expression); 298 299 308 boolean visitSubtract(EJBQLExpression expression, int finishedChildIndex); 309 310 boolean visitSum(EJBQLAggregateColumn expression); 311 312 boolean visitTok(EJBQLExpression expression); 313 314 boolean visitTrim(EJBQLExpression expression); 315 316 boolean visitTrimBoth(EJBQLExpression expression); 317 318 boolean visitTrimCharacter(EJBQLExpression expression); 319 320 boolean visitTrimLeading(EJBQLExpression expression); 321 322 boolean visitTrimTrailing(EJBQLExpression expression); 323 324 boolean visitUpdate(EJBQLExpression expression); 325 326 boolean visitUpdateField(EJBQLExpression expression); 327 328 boolean visitUpdateItem(EJBQLExpression expression); 329 330 boolean visitUpdateValue(EJBQLExpression expression); 331 332 boolean visitUpper(EJBQLExpression expression); 333 334 boolean visitWhere(EJBQLExpression expression); 335 } 336 | Popular Tags |