query
Class CreateIndex

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

 class CreateIndex
extends java.lang.Object
implements Plan

Execution plan for creating indexes.


Constructor Summary
CreateIndex(AST_CreateIndex 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

CreateIndex

public CreateIndex(AST_CreateIndex tree)
            throws QueryException
Optimizes the plan, given the parsed query.

Throws:
QueryException - if index already exists or table/column invalid
Method Detail

execute

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

Specified by:
execute in interface Plan