|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.directory.server.core.partition.impl.btree.DefaultOptimizer
Optimizer that annotates the filter using scan counts.
| Constructor Summary | |
DefaultOptimizer(BTreePartition db)
Creates an optimizer on a database. |
|
| Method Summary | |
void |
annotate(ExprNode node)
Annotates the expression tree to determine optimal evaluation order based on the scan count for indices that exist for each expression node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultOptimizer(BTreePartition db)
db - the database this optimizer works for.| Method Detail |
public void annotate(ExprNode node)
throws javax.naming.NamingException
annotate in interface Optimizernode - the root of the expression node tree
javax.naming.NamingException - if there are failures while optimizingOptimizer.annotate(ExprNode)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||