public final class ProcedurePlanner extends Object implements CommandPlanner
This prepares an ProcedurePlan
from
a CreateUpdateProcedureCommand CreateUpdateProcedureCommand
.
Constructor and Description |
---|
ProcedurePlanner() |
Modifier and Type | Method and Description |
---|---|
ProcessorPlan |
optimize(Command procCommand,
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.
|
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.
optimize
in interface CommandPlanner
metadata
- source of metadatadebug
- whether or not to generate verbose debug output during planningProcedurePlan
QueryPlannerException
- indicating a problem in planningQueryMetadataException
- indicating an exception in accessing the metadataTeiidComponentException
- indicating an unexpected exceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.