org.apache.directory.server.core.partition.impl.btree
Class IndexAssertionEnumeration
java.lang.Object
org.apache.directory.server.core.partition.impl.btree.IndexAssertionEnumeration
- All Implemented Interfaces:
- Enumeration<IndexEntry>, NamingEnumeration<IndexEntry>
public class IndexAssertionEnumeration
- extends Object
- implements NamingEnumeration<IndexEntry>
A prefetching NamingEnumeration over an underlying NamingEnumeration which
determines if a element should be returned based on a Assertion.
- Author:
- Apache Directory Project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IndexAssertionEnumeration
public IndexAssertionEnumeration(NamingEnumeration<ForwardIndexEntry> underlying,
IndexAssertion assertion)
throws NamingException
- Throws:
NamingException
IndexAssertionEnumeration
public IndexAssertionEnumeration(NamingEnumeration<ForwardIndexEntry> underlying,
IndexAssertion assertion,
boolean enableDupCheck)
throws NamingException
- Throws:
NamingException
nextElement
public IndexEntry nextElement()
- Specified by:
nextElement in interface Enumeration<IndexEntry>
- See Also:
Enumeration.nextElement()
hasMoreElements
public boolean hasMoreElements()
- Specified by:
hasMoreElements in interface Enumeration<IndexEntry>
- See Also:
Enumeration.hasMoreElements()
next
public IndexEntry next()
throws NamingException
- Specified by:
next in interface NamingEnumeration<IndexEntry>
- Throws:
NamingException- See Also:
NamingEnumeration.next()
hasMore
public boolean hasMore()
- Specified by:
hasMore in interface NamingEnumeration<IndexEntry>
- See Also:
NamingEnumeration.hasMore()
close
public void close()
throws NamingException
- Specified by:
close in interface NamingEnumeration<IndexEntry>
- Throws:
NamingException- See Also:
NamingEnumeration.close()
Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.