| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| pack-priv ValueNode | Returns: The new top of the expression tree.The query's FROM list 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. Bind this comparison operator. |
| pack-priv ValueNode | Returns: The modified expressionWhether or not we are under a NotNode. underNotNode)Overrides org. Eliminate NotNodes in the current query block. |
| public void | |
| public void | generateExpressionOperand(Optimizable optTable, int columnPosition, ExpressionClassBuilderInterface acbi, MethodBuilder mb)
|
| public void | |
| public void | |
| public void | |
| private int | Returns: The absolute 0-based column position of the ColumnReferenceThe Optimizable optTable)Get the absolute 0-based column position of the ColumnReference from the conglomerate for this Optimizable. |
| public ColumnReference | |
| public ColumnReference | |
| public ValueNode | |
| pack-priv abstract UnaryOperatorNode | Returns: BinaryOperatorNode The negated expressionThe operand of the comparison operator operand)Negate the comparison. |
| public ValueNode | |
| public int | |
| public int | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean |
| UnaryComparisonOperatorNode | back to summary |
|---|---|
| pack-priv UnaryComparisonOperatorNode(ValueNode operator, ContextManager cm) throws StandardException | |
| bindComparisonOperator | back to summary |
|---|---|
| pack-priv void bindComparisonOperator() throws StandardException Set the type info for this node. This method is useful both during binding and when we generate nodes within the language module outside of the parser.
| |
| bindExpression | back to summary |
|---|---|
| pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException Overrides org. Bind this comparison operator. All that has to be done for binding a comparison operator is to bind the operand and set the result type to SQLBoolean.
| |
| eliminateNots | back to summary |
|---|---|
| pack-priv ValueNode eliminateNots(boolean underNotNode) throws StandardException Overrides org. Eliminate NotNodes in the current query block. We traverse the tree, inverting ANDs and ORs and eliminating NOTs as we go. We stop at ComparisonOperators and boolean expressions. We invert ComparisonOperators and replace boolean expressions with boolean expression = false. Note Since we do not recurse under ComparisonOperators, there still could be NotNodes left in the tree.
| |
| generateAbsoluteColumnId | back to summary |
|---|---|
| public void generateAbsoluteColumnId(MethodBuilder mb, Optimizable optTable) | |
| generateExpressionOperand | back to summary |
|---|---|
public void generateExpressionOperand(Optimizable optTable, int columnPosition, ExpressionClassBuilderInterface acbi, MethodBuilder mb) throws StandardException
| |
| generateOrderedNulls | back to summary |
|---|---|
| public void generateOrderedNulls(MethodBuilder mb) | |
| generateQualMethod | back to summary |
|---|---|
public void generateQualMethod(ExpressionClassBuilderInterface acbi, MethodBuilder mb, Optimizable optTable) throws StandardException
| |
| generateRelativeColumnId | back to summary |
|---|---|
| public void generateRelativeColumnId(MethodBuilder mb, Optimizable optTable) | |
| getAbsoluteColumnPosition | back to summary |
|---|---|
| private int getAbsoluteColumnPosition(Optimizable optTable) Get the absolute 0-based column position of the ColumnReference from the conglomerate for this Optimizable.
| |
| getColumnOperand | back to summary |
|---|---|
public ColumnReference getColumnOperand(Optimizable optTable, int columnPosition)
| |
| getColumnOperand | back to summary |
|---|---|
public ColumnReference getColumnOperand(Optimizable optTable)
| |
| getExpressionOperand | back to summary |
|---|---|
| public ValueNode getExpressionOperand(int tableNumber, int columnNumber, Optimizable ft) | |
| getNegation | back to summary |
|---|---|
| pack-priv abstract UnaryOperatorNode getNegation(ValueNode operand) throws StandardException Negate the comparison.
| |
| getOperand | back to summary |
|---|---|
public ValueNode getOperand(ColumnReference cRef, int refSetSize, boolean otherSide)
| |
| getOrderableVariantType | back to summary |
|---|---|
public int getOrderableVariantType(Optimizable optTable) throws StandardException
| |
| getStartOperator | back to summary |
|---|---|
public int getStartOperator(Optimizable optTable)
| |
| getStopOperator | back to summary |
|---|---|
public int getStopOperator(Optimizable optTable)
| |
| isQualifier | back to summary |
|---|---|
public boolean isQualifier(Optimizable optTable, boolean forPush)
| |
| orderedNulls | back to summary |
|---|---|
public boolean orderedNulls()
| |
| selfComparison | back to summary |
|---|---|
public boolean selfComparison(ColumnReference cr)
| |