public class UserTypeConstantNode extends ConstantNode
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.Object |
value |
transformedAUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
UserTypeConstantNode() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
generateConstant(ExpressionClassBuilder acb,
MethodBuilder mb)
Should never be called for UserTypeConstantNode because
we have our own generateExpression().
|
void |
generateExpression(ExpressionClassBuilder acb,
MethodBuilder mb)
For a UserTypeConstantNode, we have to store away the object somewhere
and have a way to get it back at runtime.
|
java.lang.Object |
getConstantValueAsObject()
Return an Object representing the bind time value of this
expression tree.
|
java.lang.Object |
getObjectValue()
Return the object value of this user defined type.
|
void |
init(java.lang.Object arg1)
Initializer for a typed null node
or a date, time, or timestamp value.
|
boolean |
isNull()
Return whether or not this node represents a typed null constant.
|
bindExpression, constantExpression, getClone, getOrderableVariantType, getValue, init, isCloneable, isConstantExpression, isEquivalent, setValue, toStringbindExpression, categorize, changeToCNF, checkIsBoolean, checkTopPredicatesForEqualsConditions, copyFields, eliminateNots, evaluateConstantExpressions, genEqualsFalseTree, generate, generateFilter, genIsNullTree, genSQLJavaSQLTree, getColumnName, getDataValueFactory, getSchemaName, getSourceResultColumn, getTableName, getTablesReferenced, getTransformed, getTypeCompiler, getTypeId, getTypeServices, init, isBinaryEqualsOperatorNode, isBooleanFalse, isBooleanTrue, isInListProbeNode, isParameterNode, isRelationalOperator, isSameNodeType, optimizableEqualityNode, preprocess, putAndsOnTop, remapColumnReferencesToExpressions, requiresTypeFromContext, selectivity, setCollationInfo, setCollationInfo, setCollationUsingCompilationSchema, setCollationUsingCompilationSchema, setNullability, setTransformed, setType, setType, setType, updatableByCursor, verifyChangeToCNF, verifyEliminateNots, verifyPutAndsOnTopaccept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, isAtomic, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeConstantAction, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExistpublic void init(java.lang.Object arg1)
throws StandardException
- OR -
init in interface Nodeinit in class QueryTreeNodeStandardException - thrown on failurepublic java.lang.Object getObjectValue()
public boolean isNull()
isNull in class ConstantNodepublic java.lang.Object getConstantValueAsObject()
getConstantValueAsObject in class ValueNodepublic void generateExpression(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException
A null is generated as a Null value cast to the type of the constant node.
generateExpression in class ConstantNodeacb - The ExpressionClassBuilder for the class being builtmb - The method the expression will go intoStandardException - Thrown on errorvoid generateConstant(ExpressionClassBuilder acb, MethodBuilder mb) throws StandardException
generateConstant in class ConstantNodeacb - The ExpressionClassBuilder for the class being builtmb - The method the expression will go intoStandardException - Thrown on errorApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.