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 Optimizer
node
- the root of the expression node treeException
- if there are failures while optimizingOptimizer.annotate(ExprNode)
Copyright © 2018. All rights reserved.