Visitable
class SetSchemaNode extends MiscellaneousStatementNode
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
name |
|
private int |
type |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
EMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION
Constructor | Description |
---|---|
SetSchemaNode(java.lang.String schemaName,
int type,
ContextManager cm) |
Constructor for a SetSchemaNode
|
Modifier and Type | Method | Description |
---|---|---|
(package private) int |
activationKind() |
Returns the type of activation this class
generates.
|
(package private) 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.
|
ConstantAction |
makeConstantAction() |
Create the Constant information that will drive the guts of Execution.
|
(package private) java.lang.String |
statementToString() |
|
java.lang.String |
toString() |
Convert this object to a String.
|
needsSavepoint
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
accept, acceptChildren, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, getParameterTypes, getSchemaDescriptor, getSchemaDescriptor, getStatementType, getTableDescriptor, getTypeCompiler, getUDTDesc, isPrivilegeCollectionRequired, isSessionSchema, isSessionSchema, makeTableName, makeTableName, nodeHeader, optimizerTracingIsOn, orReliability, parseSearchCondition, parseStatement, printLabel, printSubNodes, referencesSessionSchema, resolveTableToSynonym, setBeginOffset, setEndOffset, setRefActionInfo, stackPrint, taggedWith, treePrint, treePrint, verifyClassExist
bindStatement, executeSchemaName, executeStatementName, generate, getCursorInfo, getSPSName, isAtomic, lockTableForCompilation, makeResultDescription, optimizeStatement, updateIndexStatisticsFor
SetSchemaNode(java.lang.String schemaName, int type, ContextManager cm)
schemaName
- The name of the new schematype
- Type of schema name could be USER or dynamic parametercm
- The context managerpublic java.lang.String toString()
toString
in class StatementNode
java.lang.String statementToString()
statementToString
in class StatementNode
public ConstantAction makeConstantAction() throws StandardException
makeConstantAction
in class QueryTreeNode
StandardException
- Thrown on failurevoid 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.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.