org.apache.directory.server.xdbm.search.impl
Class NoOpOptimizer

java.lang.Object
  extended by org.apache.directory.server.xdbm.search.impl.NoOpOptimizer
All Implemented Interfaces:
Optimizer

public class NoOpOptimizer
extends java.lang.Object
implements Optimizer

A do nothing optimizer which labels all nodes with BigInteger.valueOf( Integer.MAX_VALUE ) , instead of actually taking scan counts.

Version:
$Rev$, $Date$
Author:
Apache Directory Project

Constructor Summary
NoOpOptimizer()
           
 
Method Summary
 java.lang.Long annotate(org.apache.directory.shared.ldap.filter.ExprNode node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpOptimizer

public NoOpOptimizer()
Method Detail

annotate

public java.lang.Long annotate(org.apache.directory.shared.ldap.filter.ExprNode node)
                        throws javax.naming.NamingException
Specified by:
annotate in interface Optimizer
Throws:
javax.naming.NamingException


Copyright © 2003-2010 The Apache Software Foundation. All Rights Reserved.