com.metamatrix.query.optimizer.relational
Class GenerateCanonical

java.lang.Object
  extended by com.metamatrix.query.optimizer.relational.GenerateCanonical

public final class GenerateCanonical
extends java.lang.Object


Method Summary
static PlanNode createSelectNode(Criteria crit, boolean isHaving)
           
static PlanNode generatePlan(Command command, PlanHints hints, QueryMetadataInterface metadata)
          Generate an initial plan given a command.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

generatePlan

public static PlanNode generatePlan(Command command,
                                    PlanHints hints,
                                    QueryMetadataInterface metadata)
                             throws QueryPlannerException,
                                    MetaMatrixComponentException
Generate an initial plan given a command. This plan will contain all necessary information from the command but will not be optimized or even executable.

Parameters:
command - Command to plan
metadata - Metadata access
debug - True if debugging information should be dumped to STDOUT
Returns:
Initial query plan tree
Throws:
QueryPlannerException
MetaMatrixComponentException

createSelectNode

public static PlanNode createSelectNode(Criteria crit,
                                        boolean isHaving)


Copyright © 2009. All Rights Reserved.