public class SetSchemaNode extends MiscellaneousStatementNode
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private int |
type |
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
Constructor and Description |
---|
SetSchemaNode() |
Modifier and Type | Method and Description |
---|---|
(package private) int |
activationKind()
Returns the type of activation this class
generates.
|
void |
generate(ActivationClassBuilder acb,
MethodBuilder mb)
Generate code, need to push parameters
|
(package private) void |
generateParameterValueSet(ActivationClassBuilder acb)
Generate the code to create the ParameterValueSet, if necessary,
when constructing the activation.
|
void |
init(java.lang.Object schemaName,
java.lang.Object type)
Initializer for a SetSchemaNode
|
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution.
|
java.lang.String |
statementToString() |
java.lang.String |
toString()
Convert this object to a String.
|
needsSavepoint
bindStatement, executeSchemaName, executeStatementName, generate, getSPSName, isAtomic, lockTableForCompilation, makeResultDescription, 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, init, isInstanceOf, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, nodeHeader, orReliability, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, stackPrint, treePrint, treePrint, verifyClassExist
public void init(java.lang.Object schemaName, java.lang.Object type)
init
in interface Node
init
in class QueryTreeNode
schemaName
- The name of the new schematype
- Type of schema name could be USER or dynamic parameterpublic java.lang.String toString()
toString
in class StatementNode
public java.lang.String statementToString()
statementToString
in class StatementNode
public ConstantAction makeConstantAction() throws StandardException
makeConstantAction
in class QueryTreeNode
StandardException
- Thrown on failurepublic void generate(ActivationClassBuilder acb, MethodBuilder mb) throws StandardException
generate
in class MiscellaneousStatementNode
acb
- The ActivationClassBuilder for the class being builtmb
- the method for the execute() method to be builtStandardException
- Thrown on errorvoid generateParameterValueSet(ActivationClassBuilder acb) throws StandardException
acb
- The ActivationClassBuilder for the class we're buildingStandardException
int activationKind()
activationKind
in class MiscellaneousStatementNode
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.