org.teiid.query.optimizer
Class ProcedurePlanner
java.lang.Object
org.teiid.query.optimizer.ProcedurePlanner
- All Implemented Interfaces:
- CommandPlanner
public final class ProcedurePlanner
- extends java.lang.Object
- implements CommandPlanner
This prepares an ProcedurePlan from
a CreateUpdateProcedureCommand CreateUpdateProcedureCommand.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProcedurePlanner
public ProcedurePlanner()
optimize
public ProcessorPlan optimize(Command procCommand,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
throws QueryPlannerException,
QueryMetadataException,
TeiidComponentException
Produce a ProcessorPlan for the CreateUpdateProcedureCommand on the current node
of the CommandTreeNode, the procedure plan construction involves using the child
processor plans.
- Specified by:
optimize in interface CommandPlanner
- Parameters:
metadata - source of metadatadebug - whether or not to generate verbose debug output during planning
- Returns:
- ProcessorPlan This processorPlan is a
ProcedurePlan
- Throws:
QueryPlannerException - indicating a problem in planning
QueryMetadataException - indicating an exception in accessing the metadata
TeiidComponentException - indicating an unexpected exception
Copyright © 2010. All Rights Reserved.