|
|||||||||
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.Vector 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 ConstantNode
acb
- The ExpressionClassBuilder for the class being builtmb
- The method the expression will go intopublic DataValueDescriptor convertDefaultNode(DataTypeDescriptor typeDescriptor) throws StandardException
convertDefaultNode
in class QueryTreeNode
typeDescriptor
- A description of the required data type.
StandardException
- Thrown on errorpublic ValueNode bindExpression(FromList fromList, SubqueryList subqueryList, java.util.Vector aggregateVector)
ConstantNode
bindExpression
in class ConstantNode
fromList
- 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, Vector)
,
This does nothing-- the node is actually bound when
bindUntypedNullsToResultColumns is called.
|
Built on Thu 2012-03-29 21:53:33+0000, from revision ??? | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |