| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | addedEquals
Fields of the class |
| pack-priv String |
| Access | Constructor and Description |
|---|---|
| pack-priv | LikeEscapeOperatorNode(ValueNode
The left operand of the like:
column, CharConstant or Parameter receiver, ValueNode The right operand of the like: the pattern leftOperand, ValueNode The optional escape clause, null if not present rightOperand, ContextManager The context manager cm)Constructor for a LikeEscapeOperatorNode receiver like pattern [ escape escapeValue ] |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| pack-priv ValueNode | Returns: The new top of the expression tree.The FROM list for the query this
expression is in, for binding columns. fromList, SubqueryList The subquery list being built as we find SubqueryNodes subqueryList, List<AggregateNode> The aggregate list being built as we find AggregateNodes aggregates)Overrides org. implement binding for like expressions. |
| private void | |
| pack-priv void | generateExpression(ExpressionClassBuilder
The ExpressionClassBuilder for the class we're generating acb, MethodBuilder The method the code to place the code mb)Overrides org. Do code generation for this binary operator. |
| pack-priv ValueNode | Returns: The modified expressionNumber of tables in the DML Statement numTables, FromList FromList from outer query block outerFromList, SubqueryList SubqueryList from outer query block outerSubqueryList, PredicateList PredicateList from outer query block outerPredicateList)Overrides org. Preprocess an expression tree. |
| private ValueNode | setupOptimizeStringFromParameter(ValueNode parameterNode, ValueNode escapeNode, String methodName, int maxWidth)
|
| addedEquals | back to summary |
|---|---|
| pack-priv boolean addedEquals Fields of the class | |
| escape | back to summary |
|---|---|
| pack-priv String escape | |
| LikeEscapeOperatorNode | back to summary |
|---|---|
| pack-priv LikeEscapeOperatorNode(ValueNode receiver, ValueNode leftOperand, ValueNode rightOperand, ContextManager cm) Constructor for a LikeEscapeOperatorNode receiver like pattern [ escape escapeValue ]
| |
| bindComparisonOperator | back to summary |
|---|---|
| public void bindComparisonOperator() throws StandardException Bind this operator
| |
| bindExpression | back to summary |
|---|---|
| pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException Overrides org. implement binding for like expressions. overrides BindOperatorNode.bindExpression because like has special requirements for parameter binding.
| |
| finishBindExpr | back to summary |
|---|---|
| private void finishBindExpr() throws StandardException | |
| generateExpression | back to summary |
|---|---|
| pack-priv void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Do code generation for this binary operator. This code was copied from BinaryOperatorNode and stripped down
| |
| preprocess | back to summary |
|---|---|
| pack-priv ValueNode preprocess(int numTables, FromList outerFromList, SubqueryList outerSubqueryList, PredicateList outerPredicateList) throws StandardException Overrides org. Preprocess an expression tree. We do a number of transformations here (including subqueries, IN lists, LIKE and BETWEEN) plus subquery flattening. Note This is done before the outer ResultSetNode is preprocessed.
| |
| setupOptimizeStringFromParameter | back to summary |
|---|---|
| private ValueNode setupOptimizeStringFromParameter(ValueNode parameterNode, ValueNode escapeNode, String methodName, int maxWidth) throws StandardException | |