| Modifier and Type | Field and Description |
|---|---|
| private ProviderList | |
| private ValueNode | |
| private String | |
| private ValueNode |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | acceptChildren(Visitor
the visitor v)Overrides org. Accept the visitor for all visitable children of this node. |
| pack-priv ValueNode | bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates)
Overrides org. Binding the generation clause. |
| public List | |
| pack-priv void | generateExpression(ExpressionClassBuilder
The ExpressionClassBuilder for the class being built acb, MethodBuilder The method the code to place the code mb)Overrides org. Generate code for this node. |
| pack-priv ProviderList | |
| public String | |
| pack-priv boolean | isEquivalent(ValueNode
the node to compare this ValueNode against. other)Implements abstract org. Tests if this node is equivalent to the specified ValueNode. |
| pack-priv void | printSubNodes(int
The depth of this node in the tree depth)Overrides org. Prints the sub-nodes of this object. |
| pack-priv void | |
| public String | toString()
Overrides org. Convert this object to a String. |
| _apl | back to summary |
|---|---|
| private ProviderList _apl | |
| _boundExpression | back to summary |
|---|---|
| private ValueNode _boundExpression | |
| _expressionText | back to summary |
|---|---|
| private String _expressionText | |
| _generationExpression | back to summary |
|---|---|
| private ValueNode _generationExpression | |
| GenerationClauseNode | back to summary |
|---|---|
| pack-priv GenerationClauseNode(ValueNode generationExpression, String expressionText, ContextManager cm) | |
| acceptChildren | back to summary |
|---|---|
| pack-priv void acceptChildren(Visitor v) throws StandardException Overrides org. Accept the visitor for all visitable children of this node.
| |
| bindExpression | back to summary |
|---|---|
| pack-priv ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, List<AggregateNode> aggregates) throws StandardException Overrides org. Binding the generation clause.
| |
| findReferencedColumns | back to summary |
|---|---|
| public List Return a list of columns referenced in the generation expression.
| |
| generateExpression | back to summary |
|---|---|
| pack-priv void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException Overrides org. Generate code for this node.
| |
| getAuxiliaryProviderList | back to summary |
|---|---|
| pack-priv ProviderList getAuxiliaryProviderList() Return the auxiliary provider list. | |
| getExpressionText | back to summary |
|---|---|
| public String getExpressionText() Get the defining text of this generation clause | |
| isEquivalent | back to summary |
|---|---|
| pack-priv boolean isEquivalent(ValueNode other) throws StandardException Implements abstract org. Doc from org. Tests if this node is equivalent to the specified ValueNode. Two ValueNodes are considered equivalent if they will evaluate to the same value during query execution. This method provides basic expression matching facility for the derived class of ValueNode and it is used by the language layer to compare the node structural form of the two expressions for equivalence at bind phase. Note that it is not comparing the actual row values at runtime to produce a result; hence, when comparing SQL NULLs, they are considered to be equivalent and not unknown. One usage case of this method in this context is to compare the select column expression against the group by expression to check if they are equivalent. e.g.: SELECT c1+c2 FROM t1 GROUP BY c1+c2 In general, node equivalence is determined by the derived class of ValueNode. But they generally abide to the rules below:
| |
| printSubNodes | back to summary |
|---|---|
| pack-priv void printSubNodes(int depth) Overrides org. Prints the sub-nodes of this object. See QueryTreeNode.java for how tree printing is supposed to work.
| |
| setAuxiliaryProviderList | back to summary |
|---|---|
| pack-priv void setAuxiliaryProviderList(ProviderList apl) Set the auxiliary provider list. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides org. Doc from org. Convert this object to a String. See comments in QueryTreeNode.java for how this should be done for tree printing. | |