query
Class Delete

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

 class Delete
extends java.lang.Object
implements Plan

Execution plan for deleting tuples.


Constructor Summary
Delete(AST_Delete 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

Delete

public Delete(AST_Delete tree)
       throws QueryException
Optimizes the plan, given the parsed query.

Throws:
QueryException - if table doesn't exist or predicates are invalid
Method Detail

execute

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

Specified by:
execute in interface Plan