Inheritance diagram for org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor:
Public Member Functions | |
EjbqlQueryFilterVisitor (PMapper _mapper, Map _fields, Class[] parameterTypes, ASTEJBQL ejbql, QueryBuilder qb) throws Exception | |
Expression | getQueryFilter () |
Object | visit (ASTWhereClause node, Object data) |
Object | visit (ASTSingleValuedPathExpression node, Object data) |
Object | visit (ASTCmpPathExpression node, Object data) |
Object | visit (ASTSingleValuedCmrPathExpression node, Object data) |
Object | visit (ASTCollectionValuedPathExpression node, Object data) |
Object | visit (ASTConditionalExpression node, Object data) |
Object | visit (ASTConditionalTerm node, Object data) |
Object | visit (ASTConditionalFactor node, Object data) |
Object | visit (ASTBetweenExpression node, Object data) |
Object | visit (ASTInExpression node, Object data) |
Object | visit (ASTLikeExpression node, Object data) |
Object | visit (ASTNullComparisonExpression node, Object data) |
Object | visit (ASTEmptyCollectionComparisonExpression node, Object data) |
Object | visit (ASTCollectionMemberExpression node, Object data) |
Object | visit (ASTComparisonExpression node, Object data) |
Object | visit (ASTArithmeticExpression node, Object data) |
Object | visit (ASTArithmeticTerm node, Object data) |
Object | visit (ASTArithmeticFactor node, Object data) |
Object | visit (ASTStringExpression node, Object data) |
Object | visit (ASTDatetimeExpression node, Object data) |
Object | visit (ASTBooleanExpression node, Object data) |
Object | visit (ASTEntityBeanExpression node, Object data) |
Object | visit (ASTFunctionsReturningStrings node, Object data) |
Object | visit (ASTFunctionsReturningNumerics node, Object data) |
Object | visit (ASTIdentificationVariable node, Object data) |
Object | visit (ASTLiteral node, Object data) |
Object | visit (ASTStringLiteral node, Object data) |
Object | visit (ASTArithmeticLiteral node, Object data) |
Object | visit (ASTIntegerLiteral node, Object data) |
Object | visit (ASTFloatingPointLiteral node, Object data) |
Object | visit (ASTBooleanLiteral node, Object data) |
Object | visit (ASTInputParameter node, Object data) |
Object | visit (ASTPath node, Object data) |
Helene Joanin: Take into account the following operators abs(x), sqrt(x), length(str), substring(s, start, length), locate(str1, str2), locate(str1, str2, start).
Helene Joanin: EJBLocalObject as parameter of a EJB-QL query.
Helene Joanin: Take into account the InExpression (IN operator).
Helene Joanin: Take into account the IS NULL operator.
Helene Joanin: Fix a bug in the visitor for ASTIdentificationVariable: push a BasicFieldOperand(field) instead of the field itself.
Helene Joanin: add '.element' to the path for CollectionValuedPathExpression.
Helene Joanin: Convert IsNull(cmr-field) to Equal(cmr-field, PNameNull).
Helene Joanin: Take into account the operators: IS EMPTY / IS NOT EMPTY
Helene Joanin: Take into account the CONCAT operator
Helene Joanin: Take into account the EJBQL version 2.1 syntax.
Helene Joanin: Take into account the operator MOD.
Helene Joanin: Take into account the operator ISNULL with a parameter.
Definition at line 139 of file EjbqlQueryFilterVisitor.java.
|
Constructor
Definition at line 158 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
get the query filter that was built from visiting the syntaxic tree Definition at line 173 of file EjbqlQueryFilterVisitor.java. |
|
Push the Node to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 819 of file EjbqlQueryFilterVisitor.java. |
|
Node with value set to parameter index (1..n) string. Push the corresponding Operand to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 794 of file EjbqlQueryFilterVisitor.java. |
|
Node with value set to litteral boolean. Push the corresponding Operand to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 785 of file EjbqlQueryFilterVisitor.java. |
|
Node with value set to integer litteral arithmetic. Push the corresponding Operand to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 776 of file EjbqlQueryFilterVisitor.java. |
|
Node with value set to integer litteral arithmetic. Push the corresponding Operand to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 767 of file EjbqlQueryFilterVisitor.java. |
|
Visit child nodes arithmetic_literal ::= integer_literal | floatingpoint_literal Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 758 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Node with value set to litteral string. Push the corresponding Operand to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 749 of file EjbqlQueryFilterVisitor.java. |
|
Visit child nodes literal ::= string_literal | arithmetic_literal | boolean_literal Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 740 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Node with value set to identification variable string. Push the Node to the stack Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 729 of file EjbqlQueryFilterVisitor.java. |
|
visit child nodes Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 679 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.third, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
visit child nodes Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 642 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Visit child nodes entity_bean_expression ::= entity_bean_value | input_parameter Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 630 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Visit child nodes boolean_expression ::= cmp_path_expression | boolean_literal | input_parameter Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 620 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Visit child nodes datetime_expression ::= datetime_value | input_parameter Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 610 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Visit child nodes string_expression ::= string_primary | input_parameter Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 600 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 582 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 560 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.jjtGetNumChildren(), org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 538 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.jjtGetNumChildren(), org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 505 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.ops, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 474 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Nothing to do: Already taken into account in EjbqlVariableVisitor at the variables parsing, so, just push the OP_IGNORE in the stack empty_collection_comparison_expression ::= collection_valued_path_expression IS [ NOT ] EMPTY Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 457 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 398 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 376 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.third, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 354 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.eltnum, org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 335 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 319 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.not, and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 298 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.jjtGetNumChildren(), and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding Expression to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 277 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.deployment.ejbql.SimpleNode.jjtGetNumChildren(), and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding MedorField to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 255 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor.mergePath(), org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor.splitPath(), and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding MedorField to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 236 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding MedorField to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 217 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
Push corresponding MedorField to the stack. Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 197 of file EjbqlQueryFilterVisitor.java. References org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |
Here is the call graph for this function:
|
If query contains WHERE clause, visit child nodes Reimplemented from org.objectweb.jonas_ejb.lib.EjbqlAbstractVisitor. Definition at line 181 of file EjbqlQueryFilterVisitor.java. Referenced by org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.EjbqlQueryFilterVisitor(), and org.objectweb.jonas_ejb.lib.EjbqlQueryFilterVisitor.visit(). |