|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.metamatrix.query.optimizer.proc.ProcedurePlanner
public final class ProcedurePlanner
This prepares an ProcedurePlan
from
a CreateUpdateProcedureCommand CreateUpdateProcedureCommand
.
Constructor Summary | |
---|---|
ProcedurePlanner()
|
Method Summary | |
---|---|
void |
generateCanonical(CommandTreeNode rootNode,
QueryMetadataInterface metadata,
AnalysisRecord analysisRecord,
CommandContext context)
This method does nothing as the method call to optimize(com.metamatrix.query.optimizer.CommandTreeNode, com.metamatrix.core.id.IDGenerator, com.metamatrix.query.metadata.QueryMetadataInterface, com.metamatrix.query.optimizer.capabilities.CapabilitiesFinder, com.metamatrix.query.analysis.AnalysisRecord, com.metamatrix.query.util.CommandContext) directly produces
the ProcessorPlan for the given procedure. |
ProcessorPlan |
optimize(CommandTreeNode node,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Produce a ProcessorPlan for the CreateUpdateProcedureCommand on the current node of the CommandTreeNode, the procedure plan construction involves using the child processor plans. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ProcedurePlanner()
Method Detail |
---|
public void generateCanonical(CommandTreeNode rootNode, QueryMetadataInterface metadata, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, MetaMatrixComponentException
This method does nothing as the method call to optimize(com.metamatrix.query.optimizer.CommandTreeNode, com.metamatrix.core.id.IDGenerator, com.metamatrix.query.metadata.QueryMetadataInterface, com.metamatrix.query.optimizer.capabilities.CapabilitiesFinder, com.metamatrix.query.analysis.AnalysisRecord, com.metamatrix.query.util.CommandContext)
directly produces
the ProcessorPlan for the given procedure.
generateCanonical
in interface CommandPlanner
rootNode
- tree of CommandTreeNode object(s) rooted at rootNodedebug
- whether or not to generate verbose debug output during planning
QueryPlannerException
- indicating a problem in planning
MetaMatrixComponentException
- indicating an unexpected exceptionpublic ProcessorPlan optimize(CommandTreeNode node, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, MetaMatrixComponentException
Produce a ProcessorPlan for the CreateUpdateProcedureCommand on the current node of the CommandTreeNode, the procedure plan construction involves using the child processor plans.
optimize
in interface CommandPlanner
node
- root of a tree (or subtree) of CommandTreeNode objects, each of
which should have its canonical planmetadata
- source of metadatadebug
- whether or not to generate verbose debug output during planning
ProcedurePlan
QueryPlannerException
- indicating a problem in planning
QueryMetadataException
- indicating an exception in accessing the metadata
MetaMatrixComponentException
- indicating an unexpected exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |