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_ACTIVATION
AUTOINCREMENT_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, updateIndexStatisticsFor
accept, 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, verifyClassExist
private TableName name
private SPSDescriptor spsd
private ExecPreparedStatement ps
public void init(java.lang.Object newObjectName)
init
in interface Node
init
in class QueryTreeNode
newObjectName
- The name of the table to be createdStandardException
- Thrown on errorpublic void bindStatement() throws StandardException
bindStatement
in class StatementNode
StandardException
- Thrown on errorpublic boolean isAtomic()
isAtomic
in class StatementNode
public GeneratedClass generate(ByteArray ignored) throws StandardException
generate
in class StatementNode
ignored
- - ignored (he he)StandardException
- Thrown on errorpublic ResultDescription makeResultDescription()
makeResultDescription
in class StatementNode
public java.lang.Object getCursorInfo()
getCursorInfo
in class QueryTreeNode
public DataTypeDescriptor[] getParameterTypes() throws StandardException
getParameterTypes
in class QueryTreeNode
StandardException
- on errorpublic ConstantAction makeConstantAction()
makeConstantAction
in class QueryTreeNode
public boolean needsSavepoint()
needsSavepoint
in class StatementNode
public java.lang.String executeStatementName()
StatementNode
executeStatementName
in class StatementNode
StatementNode.executeStatementName()
public java.lang.String executeSchemaName()
StatementNode
executeSchemaName
in class StatementNode
StatementNode.executeSchemaName()
public java.lang.String getSPSName()
getSPSName
in class StatementNode
int activationKind()
activationKind
in class StatementNode
public java.lang.String statementToString()
statementToString
in class StatementNode
Apache Derby V10.10 Internals - Copyright © 2004,2014 The Apache Software Foundation. All Rights Reserved.