public final class SourceTriggerActionPlanner extends Object implements CommandPlanner
| Modifier and Type | Class and Description |
|---|---|
static class |
SourceTriggerActionPlanner.CompositeProcessorPlan
TODO: elevate the transaction handling?
|
static class |
SourceTriggerActionPlanner.SourceEventCommand
Represents a source event as a Command - is localized here
as it's not directly callable by a user
|
| Constructor and Description |
|---|
SourceTriggerActionPlanner() |
| 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.
|
public ProcessorPlan optimize(Command command, IDGenerator idGenerator, QueryMetadataInterface metadata, CapabilitiesFinder capFinder, AnalysisRecord analysisRecord, CommandContext context) throws QueryPlannerException, QueryMetadataException, TeiidComponentException
CommandPlanneroptimize in interface CommandPlannercommand - TODOmetadata - source of metadatacapFinder - Class usable to find the connector capabilities for a particular modelQueryPlannerException - indicating a problem in planningQueryMetadataException - indicating an exception in accessing the metadataTeiidComponentException - indicating an unexpected exceptionCopyright © 2019. All rights reserved.