com.akiban.sql.parser
Class DropViewNode

java.lang.Object
  extended by com.akiban.sql.parser.QueryTreeNode
      extended by com.akiban.sql.parser.StatementNode
          extended by com.akiban.sql.parser.DDLStatementNode
              extended by com.akiban.sql.parser.DropViewNode
All Implemented Interfaces:
Visitable

public class DropViewNode
extends DDLStatementNode

A DropViewNode is the root of a QueryTree that represents a DROP VIEW statement.


Field Summary
 
Fields inherited from class com.akiban.sql.parser.DDLStatementNode
ADD_TYPE, DROP_TYPE, LOCKING_TYPE, MODIFY_TYPE, UNKNOWN_TYPE
 
Fields inherited from class com.akiban.sql.parser.QueryTreeNode
AUTOINCREMENT_CREATE_MODIFY, AUTOINCREMENT_INC_INDEX, AUTOINCREMENT_IS_AUTOINCREMENT_INDEX, AUTOINCREMENT_START_INDEX
 
Constructor Summary
DropViewNode()
           
 
Method Summary
 void copyFrom(QueryTreeNode node)
          Fill this node with a deep copy of the given node.
 ExistenceCheck getExistenceCheck()
           
 void init(Object dropObjectName, Object ec)
          Initializer for a DropViewNode
 String statementToString()
           
 
Methods inherited from class com.akiban.sql.parser.DDLStatementNode
getFullName, getObjectName, getRelativeName, init, initAndCheck, isAtomic, toString
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DropViewNode

public DropViewNode()
Method Detail

init

public void init(Object dropObjectName,
                 Object ec)
          throws StandardException
Initializer for a DropViewNode

Overrides:
init in class QueryTreeNode
Parameters:
dropObjectName - The name of the object being dropped
Throws:
StandardException - Thrown on error

getExistenceCheck

public ExistenceCheck getExistenceCheck()

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

statementToString

public String statementToString()
Specified by:
statementToString in class StatementNode


Copyright © 2013 Akiban Technologies, Inc. All rights reserved.