| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | BinaryLogicalOperatorNode(ValueNode leftOperand, ValueNode rightOperand, String methodName, ContextManager cm)
|
| Modifier and Type | Method and Description |
|---|---|
| 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 logical operator. |
| 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 logical binary operator. |
| pack-priv DataTypeDescriptor | |
| pack-priv boolean | Returns: Boolean which reflects validity of the tree.Overrides org. Verify that eliminateNots() did its job correctly. |
| shortCircuitValue | back to summary |
|---|---|
| pack-priv boolean shortCircuitValue | |
| BinaryLogicalOperatorNode | back to summary |
|---|---|
| pack-priv BinaryLogicalOperatorNode(ValueNode leftOperand, ValueNode rightOperand, String methodName, ContextManager cm) | |
| bindExpression | back to summary |
|---|---|
| pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException Overrides org. Bind this logical operator. All that has to be done for binding a logical operator is to bind the operands, check that both operands are BooleanDataValue, and set the result type to BooleanDataValue.
| |
| generateExpression | back to summary |
|---|---|
| pack-priv void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Do code generation for this logical binary operator. This is used for AND and OR. the IsNode extends this class but overrides generateExpression.
| |
| resolveLogicalBinaryOperator | back to summary |
|---|---|
| pack-priv DataTypeDescriptor resolveLogicalBinaryOperator(DataTypeDescriptor leftType, DataTypeDescriptor rightType) throws StandardException | |
| verifyEliminateNots | back to summary |
|---|---|
| pack-priv boolean verifyEliminateNots() Overrides org. Verify that eliminateNots() did its job correctly. Verify that there are no NotNodes above the top level comparison operators and boolean expressions.
| |