Visitable
class 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_INDEX
EMPTY_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, wait
accept, 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, verifyClassExist
lockTableForCompilation, optimizeStatement, toString, updateIndexStatisticsFor
private 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 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 StatementNode
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
java.lang.String statementToString()
statementToString
in class StatementNode
void acceptChildren(Visitor v) throws StandardException
QueryTreeNode
accept(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 QueryTreeNode
v
- the visitorStandardException
- on errors raised by the visitorApache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.