org.apache.directory.server.core.partition.impl.btree
Class ScopeEnumerator

java.lang.Object
  extended by org.apache.directory.server.core.partition.impl.btree.ScopeEnumerator
All Implemented Interfaces:
Enumerator

public class ScopeEnumerator
extends java.lang.Object
implements Enumerator

Enumerates candidates based on scope.

Version:
$Rev: 434579 $
Author:
Apache Directory Project

Constructor Summary
ScopeEnumerator(BTreePartition db, ScopeEvaluator evaluator)
           
 
Method Summary
 javax.naming.NamingEnumeration enumerate(ExprNode node)
          Builds an enumeration over all entries that satisfy the constraints of the scope assertion node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScopeEnumerator

public ScopeEnumerator(BTreePartition db,
                       ScopeEvaluator evaluator)
Method Detail

enumerate

public javax.naming.NamingEnumeration enumerate(ExprNode node)
                                         throws javax.naming.NamingException
Builds an enumeration over all entries that satisfy the constraints of the scope assertion node.

Specified by:
enumerate in interface Enumerator
Parameters:
node - the scope node
Returns:
the candidates that are within scope
Throws:
javax.naming.NamingException - if any system indices fail
See Also:
Enumerator.enumerate(ExprNode)