org.teiid.query.optimizer
Class QueryOptimizer

java.lang.Object
  extended by org.teiid.query.optimizer.QueryOptimizer

public class QueryOptimizer
extends java.lang.Object

This Class produces a ProcessorPlan object (a plan for query execution) from a user's command and a source of metadata.

The user's Command object may in fact be a tree of commands and subcommands. This component is architected to defer to the proper CommandPlanner implementation to plan each Command in the tree.


Method Summary
static ProcessorPlan optimizePlan(Command command, QueryMetadataInterface metadata, IDGenerator idGenerator, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

optimizePlan

public static ProcessorPlan optimizePlan(Command command,
                                         QueryMetadataInterface metadata,
                                         IDGenerator idGenerator,
                                         CapabilitiesFinder capFinder,
                                         AnalysisRecord analysisRecord,
                                         CommandContext context)
                                  throws QueryPlannerException,
                                         QueryMetadataException,
                                         TeiidComponentException
Throws:
QueryPlannerException
QueryMetadataException
TeiidComponentException


Copyright © 2010. All Rights Reserved.