Visitableclass ExecSPSNode extends StatementNode
| Modifier and Type | Field | Description |
|---|---|---|
private TableName |
name |
|
private ExecPreparedStatement |
ps |
|
private SPSDescriptor |
spsd |
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_CYCLE, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEXEMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATION| Constructor | Description |
|---|---|
ExecSPSNode(TableName newObjectName,
ContextManager cm) |
Constructor for a ExecSPSNode
|
| Modifier and Type | Method | Description |
|---|---|---|
(package private) void |
acceptChildren(Visitor v) |
Accept a visitor on all child nodes.
|
(package private) int |
activationKind() |
|
void |
bindStatement() |
Bind this ExecSPSNode.
|
java.lang.String |
executeSchemaName() |
Returns name of schema in EXECUTE STATEMENT command.
|
java.lang.String |
executeStatementName() |
Returns the name of statement in EXECUTE STATEMENT command.
|
GeneratedClass |
generate(ByteArray ignored) |
Do code generation for this statement.
|
java.lang.Object |
getCursorInfo() |
Get information about this cursor.
|
DataTypeDescriptor[] |
getParameterTypes() |
Return a description of the ?
|
java.lang.String |
getSPSName() |
Get the name of the SPS that is used
to execute this statement.
|
boolean |
isAtomic() |
SPSes are atomic if its underlying statement is
atomic.
|
ConstantAction |
makeConstantAction() |
Create the Constant information that will drive the guts of Execution.
|
ResultDescription |
makeResultDescription() |
Make the result description.
|
boolean |
needsSavepoint() |
We need a savepoint if we will do transactional work.
|
(package private) java.lang.String |
statementToString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, addTag, addUDTUsagePriv, addUDTUsagePriv, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, copyTagsFrom, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getLongProperty, getNullNode, getOffsetOrderedNodes, getOptimizerFactory, getOptimizerTracer, 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, verifyClassExistlockTableForCompilation, optimizeStatement, toString, updateIndexStatisticsForprivate TableName name
private SPSDescriptor spsd
private ExecPreparedStatement ps
ExecSPSNode(TableName newObjectName, ContextManager cm)
newObjectName - The name of the table to be createdcm - The context managerStandardException - Thrown on errorpublic void bindStatement()
throws StandardException
bindStatement in class StatementNodeStandardException - Thrown on errorpublic boolean isAtomic()
isAtomic in class StatementNodepublic GeneratedClass generate(ByteArray ignored) throws StandardException
generate in class StatementNodeignored - - ignored (he he)StandardException - Thrown on errorpublic ResultDescription makeResultDescription()
makeResultDescription in class StatementNodepublic java.lang.Object getCursorInfo()
getCursorInfo in class StatementNodepublic DataTypeDescriptor[] getParameterTypes() throws StandardException
getParameterTypes in class QueryTreeNodeStandardException - on errorpublic ConstantAction makeConstantAction()
makeConstantAction in class QueryTreeNodepublic boolean needsSavepoint()
needsSavepoint in class StatementNodepublic java.lang.String executeStatementName()
StatementNodeexecuteStatementName in class StatementNodeStatementNode.executeStatementName()public java.lang.String executeSchemaName()
StatementNodeexecuteSchemaName in class StatementNodeStatementNode.executeSchemaName()public java.lang.String getSPSName()
getSPSName in class StatementNodeint activationKind()
activationKind in class StatementNodejava.lang.String statementToString()
statementToString in class StatementNodevoid acceptChildren(Visitor v) throws StandardException
QueryTreeNodeaccept(v) on all visitable fields, as well as
super.acceptChildren(v) to make sure all visitable fields
defined by the super-class are accepted too.acceptChildren in class QueryTreeNodev - the visitorStandardException - on errors raised by the visitorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.