org.apache.derby.impl.sql.compile
Class CreateSchemaNode
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.CreateSchemaNode
- All Implemented Interfaces:
- Visitable
- public class CreateSchemaNode
- extends DDLStatementNode
A CreateSchemaNode is the root of a QueryTree that
represents a CREATE SCHEMA statement.
- Author:
- jamie
Field Summary |
private java.lang.String |
aid
|
private java.lang.String |
name
|
Method Summary |
void |
init(java.lang.Object schemaName,
java.lang.Object aid)
Initializer for a CreateSchemaNode |
ConstantAction |
makeConstantAction()
Create the Constant information that will drive the guts of Execution. |
java.lang.String |
statementToString()
|
java.lang.String |
toString()
Convert this object to a String. |
Methods inherited from class org.apache.derby.impl.sql.compile.DDLStatementNode |
activationKind, bindName, generate, getFullName, getObjectName, getRelativeName, getSchemaDescriptor, getTableDescriptor, getTableDescriptor, getTableDescriptor, init, initAndCheck, isAtomic |
Methods inherited from class org.apache.derby.impl.sql.compile.QueryTreeNode |
accept, bind, 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, resolveTableToSynonym, 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 |
name
private java.lang.String name
aid
private java.lang.String aid
CreateSchemaNode
public CreateSchemaNode()
init
public void init(java.lang.Object schemaName,
java.lang.Object aid)
throws StandardException
- Initializer for a CreateSchemaNode
- Overrides:
init
in class QueryTreeNode
- Parameters:
schemaName
- The name of the new schemaaid
- The authorization id
- Throws:
StandardException
- Thrown on error
toString
public java.lang.String toString()
- Convert this object to a String. See comments in QueryTreeNode.java
for how this should be done for tree printing.
- Overrides:
toString
in class DDLStatementNode
- Returns:
- This object as a String
statementToString
public java.lang.String statementToString()
- Specified by:
statementToString
in class StatementNode
makeConstantAction
public ConstantAction makeConstantAction()
- Create the Constant information that will drive the guts of Execution.
- Overrides:
makeConstantAction
in class QueryTreeNode
- Throws:
StandardException
- Thrown on failure
Apache Derby V10.1 Engine Documentation - Copyright © 1997,2005 The Apache Software Foundation or its licensors, as applicable.