| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ValueNode | Returns: The modified expressionWhether or not we are under a NotNode. underNotNode)Overrides org. Eliminate NotNodes in the current query block. |
| pack-priv void | generateConstant(ExpressionClassBuilder
The ExpressionClassBuilder for the class being built acb, MethodBuilder The method the code to place the code mb)Implements abstract org. This generates the proper constant. |
| pack-priv Object | Returns: An Object representing the bind time value of this expression tree. (null if not a bind time constant.)Overrides org. Return an Object representing the bind time value of this expression tree. |
| pack-priv String | |
| pack-priv boolean | Returns: Whether or not this node represents a false constant.Overrides org. Does this represent a false constant. |
| pack-priv boolean | Returns: Whether or not this node represents a true constant.Overrides org. Does this represent a true constant. |
| public double | selectivity(Optimizable optTable)
Overrides org. The default selectivity for value nodes is 50%. |
| pack-priv void | setValue(DataValueDescriptor value)
Overrides org. Set the value in this ConstantNode. |
| booleanValue | back to summary |
|---|---|
| pack-priv boolean booleanValue | |
| unknownValue | back to summary |
|---|---|
| pack-priv boolean unknownValue | |
| BooleanConstantNode | back to summary |
|---|---|
pack-priv BooleanConstantNode(ContextManager cm) throws StandardException
| |
| BooleanConstantNode | back to summary |
|---|---|
| pack-priv BooleanConstantNode(boolean value, ContextManager cm) throws StandardException | |
| BooleanConstantNode | back to summary |
|---|---|
| pack-priv BooleanConstantNode(TypeId t, ContextManager cm) throws StandardException | |
| eliminateNots | back to summary |
|---|---|
| pack-priv ValueNode eliminateNots(boolean underNotNode) 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. | |
| generateConstant | back to summary |
|---|---|
| pack-priv void generateConstant(ExpressionClassBuilder acb, MethodBuilder mb) Implements abstract org. This generates the proper constant. It is implemented by every specific constant node (e.g. IntConstantNode).
| |
| getConstantValueAsObject | back to summary |
|---|---|
| pack-priv Object getConstantValueAsObject() Overrides org. Return an Object representing the bind time value of this expression tree. If the expression tree does not evaluate to a constant at bind time then we return null. This is useful for bind time resolution of VTIs. Resolve What do we do for primitives? | |
| getValueAsString | back to summary |
|---|---|
| pack-priv String getValueAsString() Return the value as a string.
| |
| isBooleanFalse | back to summary |
|---|---|
| pack-priv boolean isBooleanFalse() Overrides org. Does this represent a false constant.
| |
| isBooleanTrue | back to summary |
|---|---|
| pack-priv boolean isBooleanTrue() Overrides org. Does this represent a true constant.
| |
| selectivity | back to summary |
|---|---|
| public double selectivity(Optimizable optTable) Overrides org. The default selectivity for value nodes is 50%. This is overridden in specific cases, such as the RelationalOperators.
| |
| setValue | back to summary |
|---|---|
| pack-priv void setValue(DataValueDescriptor value) Overrides org. Set the value in this ConstantNode.
| |