query
Class Update

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

 class Update
extends java.lang.Object
implements Plan

Execution plan for updating tuples.


Constructor Summary
Update(AST_Update 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

Update

public Update(AST_Update tree)
       throws QueryException
Optimizes the plan, given the parsed query.

Throws:
QueryException - if invalid column names, values, or pedicates
Method Detail

execute

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

Specified by:
execute in interface Plan