com.akiban.sql.parser
Class DropSchemaNode
java.lang.Object
com.akiban.sql.parser.QueryTreeNode
com.akiban.sql.parser.StatementNode
com.akiban.sql.parser.DDLStatementNode
com.akiban.sql.parser.DropSchemaNode
- All Implemented Interfaces:
- Visitable
public class DropSchemaNode
- extends DDLStatementNode
A DropSchemaNode is the root of a QueryTree that represents
a DROP SCHEMA statement.
| Methods inherited from class com.akiban.sql.parser.QueryTreeNode |
accept, convertDefaultNode, debugFlush, debugPrint, formatNodeString, getBeginOffset, getDebugOutput, getEndOffset, getNodeFactory, getNodeType, getNullNode, getParserContext, getStatementType, getUserData, init, init, init, init, init, init, init, init, init, init, init, init, isInstanceOf, makeTableName, makeTableName, nodeHeader, printLabel, printSubNodes, setBeginOffset, setDebugOutput, setEndOffset, setNodeType, setParserContext, setUserData, stackPrint, treePrint, treePrint, treePrint |
DropSchemaNode
public DropSchemaNode()
init
public void init(Object schemaName,
Object dropBehavior,
Object ec)
throws StandardException
- Initializer for a DropSchemaNode
- Overrides:
init in class QueryTreeNode
- Parameters:
schemaName - The name of the object being droppeddropBehavior - Drop behavior (RESTRICT | CASCADE)
- Throws:
StandardException - Thrown on error
copyFrom
public void copyFrom(QueryTreeNode node)
throws StandardException
- Fill this node with a deep copy of the given node.
- Overrides:
copyFrom in class DDLStatementNode
- Throws:
StandardException
toString
public 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 String statementToString()
- Specified by:
statementToString in class StatementNode
getDropBehavior
public int getDropBehavior()
getSchemaName
public String getSchemaName()
getExistenceCheck
public ExistenceCheck getExistenceCheck()
Copyright © 2013 Akiban Technologies, Inc. All rights reserved.