org.apache.directory.server.xdbm.search.impl
Class NoOpOptimizer
java.lang.Object
org.apache.directory.server.xdbm.search.impl.NoOpOptimizer
- All Implemented Interfaces:
- Optimizer
public class NoOpOptimizer
- extends Object
- implements Optimizer
A do nothing optimizer which labels all nodes with
BigInteger.valueOf( Integer.MAX_VALUE ) , instead of actually
taking scan counts.
- Author:
- Apache Directory Project
|
Method Summary |
Long |
annotate(org.apache.directory.shared.ldap.model.filter.ExprNode node)
Annotates the expression node tree for optimized traversal metrics. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoOpOptimizer
public NoOpOptimizer()
annotate
public Long annotate(org.apache.directory.shared.ldap.model.filter.ExprNode node)
throws NamingException
- Description copied from interface:
Optimizer
- Annotates the expression node tree for optimized traversal metrics.
- Specified by:
annotate in interface Optimizer
- Parameters:
node - the root of the expression node tree
- Throws:
NamingException
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.