public class DefaultOptimizer<E> extends Object implements Optimizer
| Constructor and Description |
|---|
DefaultOptimizer(Store db)
Creates an optimizer on a database.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
annotate(org.apache.directory.api.ldap.model.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.
|
public Long annotate(org.apache.directory.api.ldap.model.filter.ExprNode node) throws Exception
annotate in interface Optimizernode - the root of the expression node treeException - if there are failures while optimizingOptimizer.annotate(ExprNode)Copyright © 2021. All rights reserved.