public interface CommandPlanner
The common interface of all planners which take a user's command
object and produce a
ProcessorPlan
object, which is a plan for executing the query.
| Modifier and Type | Method and Description |
|---|---|
ProcessorPlan |
optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Allows the planner a chance to optimize the canonical plan(s) stored in
the CommandTreeNode tree.
|
ProcessorPlan optimize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, TeiidComponentException
command - TODOmetadata - source of metadatacapFinder - Class usable to find the connector capabilities for a particular modelcontext - QueryPlannerException - indicating a problem in planningQueryMetadataException - indicating an exception in accessing the metadataTeiidComponentException - indicating an unexpected exceptionCopyright © 2019. All rights reserved.