|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.optimizer.BatchedUpdatePlanner
public class BatchedUpdatePlanner
Planner for BatchedUpdateCommands
| Constructor Summary | |
|---|---|
BatchedUpdatePlanner()
|
|
| Method Summary | |
|---|---|
static GroupSymbol |
getUpdatedGroup(Command command)
Get the group being updated by the update command |
static boolean |
isEligibleForBatching(Command command,
QueryMetadataInterface metadata)
Returns whether a command can be placed in a connector batch |
ProcessorPlan |
optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
Optimizes batched updates by batching all contiguous commands that relate to the same physical model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BatchedUpdatePlanner()
| Method Detail |
|---|
public ProcessorPlan optimize(Command command,
IDGenerator idGenerator,
QueryMetadataInterface metadata,
CapabilitiesFinder capFinder,
AnalysisRecord analysisRecord,
CommandContext context)
throws QueryPlannerException,
QueryMetadataException,
TeiidComponentException
optimize in interface CommandPlannercommand - TODOmetadata - source of metadatacapFinder - Class usable to find the connector capabilities for a particular model
QueryPlannerException - indicating a problem in planning
QueryMetadataException - indicating an exception in accessing the metadata
TeiidComponentException - indicating an unexpected exceptionCommandPlanner.optimize(Command, org.teiid.core.id.IDGenerator, org.teiid.query.metadata.QueryMetadataInterface, org.teiid.query.optimizer.capabilities.CapabilitiesFinder, org.teiid.query.analysis.AnalysisRecord, CommandContext)public static GroupSymbol getUpdatedGroup(Command command)
command - an INSERT, UPDATE, DELETE or SELECT INTO command
public static boolean isEligibleForBatching(Command command,
QueryMetadataInterface metadata)
throws QueryMetadataException,
TeiidComponentException
command - an update commandmetadata -
QueryMetadataException
TeiidComponentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||