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 CommandPlannermetadata - source of metadataprocCommand - TODOcapFinder - Class usable to find the connector capabilities for a particular modelProcedurePlanQueryPlannerException - indicating a problem in planningQueryMetadataException - indicating an exception in accessing the metadataTeiidComponentException - indicating an unexpected exceptionCopyright © 2019. All rights reserved.