public abstract class ParallelQueryPlanOptimizer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) ParallelQueryPlanOptimizer |
next |
Constructor and Description |
---|
ParallelQueryPlanOptimizer() |
ParallelQueryPlanOptimizer(ParallelQueryPlanOptimizer next) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doMyOptimization(TransactionId tid,
ParallelQueryPlan plan)
Sub classes should implement this method to do the actual optimization
|
ParallelQueryPlan |
optimize(TransactionId tid,
ParallelQueryPlan plan)
Do the optimization
|
ParallelQueryPlanOptimizer next
public ParallelQueryPlanOptimizer()
public ParallelQueryPlanOptimizer(ParallelQueryPlanOptimizer next)
next
- The next optimizer. The output of this optimizer will be
fed as the input to the next optimizer.public final ParallelQueryPlan optimize(TransactionId tid, ParallelQueryPlan plan)
tid
- TransactionId of the queryplan
- The plan to be optimizedoptimizedBy
- Keep the record of what optimizations have been conducted on
the queryprotected abstract void doMyOptimization(TransactionId tid, ParallelQueryPlan plan)