query
Class DropTable

java.lang.Object
  extended by query.DropTable
All Implemented Interfaces:
Plan

 class DropTable
extends java.lang.Object
implements Plan

Execution plan for dropping tables.


Constructor Summary
DropTable(AST_DropTable tree)
          Optimizes the plan, given the parsed query.
 
Method Summary
 void execute()
          Executes the plan and prints applicable output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTable

public DropTable(AST_DropTable tree)
          throws QueryException
Optimizes the plan, given the parsed query.

Throws:
QueryException - if table doesn't exist
Method Detail

execute

public void execute()
Executes the plan and prints applicable output.

Specified by:
execute in interface Plan