|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.directory.server.xdbm.search.impl.DefaultOptimizer<E,ID>
public class DefaultOptimizer<E,ID>
Optimizer that annotates the filter using scan counts.
| Constructor Summary | |
|---|---|
DefaultOptimizer(Store<E,ID> db)
Creates an optimizer on a database. |
|
| Method Summary | |
|---|---|
java.lang.Long |
annotate(org.apache.directory.shared.ldap.filter.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(Store<E,ID> db)
throws java.lang.Exception
db - the database this optimizer works for.
java.lang.Exception| Method Detail |
|---|
public java.lang.Long annotate(org.apache.directory.shared.ldap.filter.ExprNode node)
throws java.lang.Exception
annotate in interface Optimizerjava.lang.ExceptionOptimizer.annotate(ExprNode)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||