public class CreateAliasNode extends DDLStatementNode
Modifier and Type | Field and Description |
---|---|
static int |
AGG_ELEMENT_COUNT |
static int |
AGG_FOR_TYPE |
static int |
AGG_RETURN_TYPE |
private AliasInfo |
aliasInfo |
private char |
aliasType |
static int |
DETERMINISTIC |
static int |
DYNAMIC_RESULT_SET_COUNT |
static int |
EXTERNAL_NAME |
private java.lang.String |
javaClassName |
static int |
LANGUAGE |
private java.lang.String |
methodName |
private static java.lang.String[] |
NON_RESERVED_AGGREGATES |
private static java.lang.String[] |
NON_RESERVED_FUNCTION_NAMES |
static int |
NULL_ON_NULL_INPUT |
static int |
PARAMETER_ARRAY |
static int |
PARAMETER_STYLE |
static int |
RETURN_TYPE |
static int |
ROUTINE_ELEMENT_COUNT |
static int |
ROUTINE_SECURITY_DEFINER |
static int |
SQL_CONTROL |
static int |
TABLE_NAME |
static int |
VARARGS |
ADD_TYPE, DROP_STATISTICS, DROP_TYPE, implicitCreateSchema, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE, UPDATE_STATISTICS
EMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX, isPrivilegeCollectionRequired
Constructor and Description |
---|
CreateAliasNode() |
Modifier and Type | Method and Description |
---|---|
private void |
bindAggregate()
Extra logic for binding user-defined aggregate definitions
|
private void |
bindParameterTypes(RoutineAliasInfo aliasInfo)
Bind the class names for UDTs
|
void |
bindStatement()
Bind this CreateAliasNode.
|
private StandardException |
illegalAggregate()
Construct an exception flagging an illegal aggregate name
|
void |
init(java.lang.Object aliasName,
java.lang.Object targetObject,
java.lang.Object methodName,
java.lang.Object aliasSpecificInfo,
java.lang.Object aliasType)
Initializer for a CreateAliasNode
|
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution.
|
java.lang.String |
statementToString() |
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, init, initAndCheck, isAtomic, makeFromList, toString
executeSchemaName, executeStatementName, generate, getSPSName, lockTableForCompilation, makeResultDescription, needsSavepoint, optimizeStatement, updateIndexStatisticsFor
accept, 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, init, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExist
public static final int PARAMETER_ARRAY
public static final int TABLE_NAME
public static final int DYNAMIC_RESULT_SET_COUNT
public static final int LANGUAGE
public static final int EXTERNAL_NAME
public static final int PARAMETER_STYLE
public static final int SQL_CONTROL
public static final int DETERMINISTIC
public static final int NULL_ON_NULL_INPUT
public static final int RETURN_TYPE
public static final int ROUTINE_SECURITY_DEFINER
public static final int VARARGS
public static final int ROUTINE_ELEMENT_COUNT
private static final java.lang.String[] NON_RESERVED_FUNCTION_NAMES
private static final java.lang.String[] NON_RESERVED_AGGREGATES
public static final int AGG_FOR_TYPE
public static final int AGG_RETURN_TYPE
public static final int AGG_ELEMENT_COUNT
private java.lang.String javaClassName
private java.lang.String methodName
private char aliasType
private AliasInfo aliasInfo
public void init(java.lang.Object aliasName, java.lang.Object targetObject, java.lang.Object methodName, java.lang.Object aliasSpecificInfo, java.lang.Object aliasType) throws StandardException
init
in interface Node
init
in class QueryTreeNode
aliasName
- The name of the aliastargetObject
- Target namemethodName
- The method namealiasType
- The alias typeStandardException
- Thrown on errorpublic java.lang.String statementToString()
statementToString
in class StatementNode
public void bindStatement() throws StandardException
bindStatement
in class StatementNode
StandardException
- Thrown on errorprivate void bindAggregate() throws StandardException
StandardException
private StandardException illegalAggregate()
private void bindParameterTypes(RoutineAliasInfo aliasInfo) throws StandardException
StandardException
public ConstantAction makeConstantAction() throws StandardException
makeConstantAction
in class QueryTreeNode
StandardException
- Thrown on failureApache Derby V10.10 Internals - Copyright © 2004,2013 The Apache Software Foundation. All Rights Reserved.