public class DropSchemaNode extends DDLStatementNode
ADD_TYPE, DROP_TYPE, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
Constructor and Description |
---|
DropSchemaNode() |
Modifier and Type | Method and Description |
---|---|
void |
copyFrom(QueryTreeNode node)
Fill this node with a deep copy of the given node.
|
int |
getDropBehavior() |
ExistenceCheck |
getExistenceCheck() |
java.lang.String |
getSchemaName() |
void |
init(java.lang.Object schemaName,
java.lang.Object dropBehavior,
java.lang.Object ec)
Initializer for a DropSchemaNode
|
java.lang.String |
statementToString() |
java.lang.String |
toString()
Convert this object to a String.
|
getFullName, getObjectName, getRelativeName, init, initAndCheck, isAtomic
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
public void init(java.lang.Object schemaName, java.lang.Object dropBehavior, java.lang.Object ec) throws StandardException
init
in class QueryTreeNode
schemaName
- The name of the object being droppeddropBehavior
- Drop behavior (RESTRICT | CASCADE)StandardException
- Thrown on errorpublic void copyFrom(QueryTreeNode node) throws StandardException
copyFrom
in class DDLStatementNode
StandardException
public java.lang.String toString()
toString
in class DDLStatementNode
public java.lang.String statementToString()
statementToString
in class StatementNode
public int getDropBehavior()
public java.lang.String getSchemaName()
public ExistenceCheck getExistenceCheck()
Copyright © 2013. All Rights Reserved.