public class ExecSPSNode extends StatementNode
| Modifier and Type | Field and Description |
|---|---|
private TableName |
name |
private ExecPreparedStatement |
ps |
private SPSDescriptor |
spsd |
EMPTY_TD_LIST, NEED_CURSOR_ACTIVATION, NEED_DDL_ACTIVATION, NEED_NOTHING_ACTIVATION, NEED_PARAM_ACTIVATION, NEED_ROW_ACTIVATIONAUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX| Constructor and Description |
|---|
ExecSPSNode() |
| Modifier and Type | Method and Description |
|---|---|
(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.
|
void |
init(java.lang.Object newObjectName)
Initializer for a ExecSPSNode
|
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.
|
java.lang.String |
statementToString() |
lockTableForCompilation, optimizeStatement, toString, updateIndexStatisticsForaccept, acceptChildren, bindOffsetFetch, bindRowMultiSet, bindUserCatalogType, bindUserType, checkReliability, checkReliability, convertDefaultNode, createTypeDependency, debugFlush, debugPrint, disablePrivilegeCollection, formatNodeString, foundString, generate, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, 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, verifyClassExistprivate TableName name
private SPSDescriptor spsd
private ExecPreparedStatement ps
public void init(java.lang.Object newObjectName)
init in interface Nodeinit in class QueryTreeNodenewObjectName - The name of the table to be createdStandardException - 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 QueryTreeNodepublic 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 StatementNodepublic java.lang.String statementToString()
statementToString in class StatementNodeApache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.