org.apache.derby.impl.sql.compile
Class AlterSPSNode
java.lang.Object
org.apache.derby.impl.sql.compile.QueryTreeNode
org.apache.derby.impl.sql.compile.StatementNode
org.apache.derby.impl.sql.compile.DDLStatementNode
org.apache.derby.impl.sql.compile.AlterSPSNode
- All Implemented Interfaces:
- Visitable
- public class AlterSPSNode
- extends DDLStatementNode
A AlterSPSNode represents a DDL statement that alters a
stored prepared statement. Currently, this is only
ALTER STATEMENT RECOMPILE [ ALL | INVALID ]
- Author:
- jamie
Method Summary |
QueryTreeNode |
bind()
Bind this alterSPS. |
void |
init(java.lang.Object objectName,
java.lang.Object usingClause,
java.lang.Object usingText,
java.lang.Object invalidOnly)
Initializer for a AlterSPSNode |
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution. |
java.lang.String |
statementToString()
|
Methods inherited from class org.apache.derby.impl.sql.compile.DDLStatementNode |
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, init, initAndCheck, isAtomic, toString |
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, executeSchemaName, executeStatementName, formatNodeString, foundString, generateAuthorizeCheck, getBeginOffset, getClassFactory, getCompilerContext, getContextManager, getCursorInfo, getDataDictionary, getDependencyManager, getEndOffset, getExecutionFactory, getGenericConstantActionFactory, getIntProperty, getLanguageConnectionContext, getNodeFactory, getNodeType, getNullNode, getParameterTypes, getRowEstimate, getSchemaDescriptor, getSchemaDescriptor, getSPSName, getStatementType, getTableDescriptor, getTypeCompiler, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, isSessionSchema, isSessionSchema, makeResultDescription, makeTableName, needsSavepoint, nodeHeader, optimize, parseQueryText, printLabel, printSubNodes, referencesSessionSchema, setBeginOffset, setContextManager, setEndOffset, setNodeType, setRefActionInfo, treePrint, treePrint, verifyClassExist |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
usingClause
private ResultSetNode usingClause
usingText
private java.lang.String usingText
invalidOnly
private boolean invalidOnly
AlterSPSNode
public AlterSPSNode()
init
public void init(java.lang.Object objectName,
java.lang.Object usingClause,
java.lang.Object usingText,
java.lang.Object invalidOnly)
throws StandardException
- Initializer for a AlterSPSNode
- Overrides:
init
in class QueryTreeNode
- Parameters:
objectName
- The name of the statement
to alter. If null do all statements.usingClause
- The using clauseusingText
- The text of the using clauseinvalidOnly
- only recompile invalid spses
- Throws:
StandardException
- Thrown on error
bind
public QueryTreeNode bind()
throws StandardException
- Bind this alterSPS. All we do is bind the using
if there is one.
- Overrides:
bind
in class QueryTreeNode
- Returns:
- The bound query tree
- Throws:
StandardException
- on error
statementToString
public java.lang.String statementToString()
- Specified by:
statementToString
in class StatementNode
makeConstantAction
public ConstantAction makeConstantAction()
throws StandardException
- Create the Constant information that will drive the guts of Execution.
- Overrides:
makeConstantAction
in class QueryTreeNode
- Throws:
StandardException
- Thrown on failure
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.