|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.ValueNode
org.apache.derby.impl.sql.compile.ConstantNode
org.apache.derby.impl.sql.compile.UntypedNullConstantNode
public final class UntypedNullConstantNode
An UntypedNullConstantNode represents a SQL NULL before it has been bound. The bind() operation will replace the UntypedNullConstantNodes with typed ConstantNodes.
| Field Summary |
|---|
| Fields inherited from class org.apache.derby.impl.sql.compile.ConstantNode |
|---|
value |
| Fields inherited from class org.apache.derby.impl.sql.compile.ValueNode |
|---|
transformed |
| Fields inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
|---|
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, isPrivilegeCollectionRequired |
| Constructor Summary | |
|---|---|
UntypedNullConstantNode()
Constructor for an UntypedNullConstantNode. |
|
| Method Summary | |
|---|---|
ValueNode |
bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List aggregateVector)
Bind this expression. |
DataValueDescriptor |
convertDefaultNode(DataTypeDescriptor typeDescriptor)
Translate a Default node into a default value, given a type descriptor. |
(package private) void |
generateConstant(ExpressionClassBuilder acb,
MethodBuilder mb)
Should never be called for UntypedNullConstantNode because we shouldn't make it to generate |
| Methods inherited from class org.apache.derby.impl.sql.compile.ConstantNode |
|---|
constantExpression, generateExpression, getClone, getOrderableVariantType, getValue, init, isCloneable, isConstantExpression, isEquivalent, isNull, setValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public UntypedNullConstantNode()
| Method Detail |
|---|
void generateConstant(ExpressionClassBuilder acb,
MethodBuilder mb)
generateConstant in class ConstantNodeacb - The ExpressionClassBuilder for the class being builtmb - The method the expression will go into
public DataValueDescriptor convertDefaultNode(DataTypeDescriptor typeDescriptor)
throws StandardException
convertDefaultNode in class QueryTreeNodetypeDescriptor - A description of the required data type.
StandardException - Thrown on error
public ValueNode bindExpression(FromList fromList,
SubqueryList subqueryList,
java.util.List aggregateVector)
ConstantNode
bindExpression in class ConstantNodefromList - The FROM list for the query this
expression is in, for binding columns.subqueryList - The subquery list being built as we find SubqueryNodesaggregateVector - The aggregate vector being built as we find AggregateNodes
ValueNode.bindExpression(FromList, SubqueryList, List),
This does nothing-- the node is actually bound when
bindUntypedNullsToResultColumns is called.
|
Built on Wed 2013-06-12 15:21:56+0000, from revision ??? | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||