query
Class Select

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

 class Select
extends java.lang.Object
implements Plan

Execution plan for selecting tuples.


Constructor Summary
Select(AST_Select 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

Select

public Select(AST_Select tree)
       throws QueryException
Optimizes the plan, given the parsed query.

Throws:
QueryException - if validation fails
Method Detail

execute

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

Specified by:
execute in interface Plan