org.apache.directory.server.xdbm
Class AbstractIndexCursor<K,E,ID>
java.lang.Object
org.apache.directory.server.xdbm.AbstractIndexCursor<K,E,ID>
- All Implemented Interfaces:
- java.lang.Iterable<IndexEntry<K,E,ID>>, IndexCursor<K,E,ID>, org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<K,E,ID>>
- Direct Known Subclasses:
- AllEntriesCursor, AndCursor, ApproximateCursor, EmptyIndexCursor, EqualityCursor, GreaterEqCursor, LessEqCursor, NotCursor, OneLevelScopeCursor, OrCursor, PresenceCursor, SingletonIndexCursor, SubstringCursor, SubtreeScopeCursor
public abstract class AbstractIndexCursor<K,E,ID>
- extends java.lang.Object
- implements IndexCursor<K,E,ID>
An abstract TupleCursor.
- Version:
- $Rev$
- Author:
- Apache Directory Project
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.directory.shared.ldap.cursor.Cursor |
after, afterLast, available, before, beforeFirst, first, get, isElementReused, last, next, previous |
AbstractIndexCursor
public AbstractIndexCursor()
setClosureMonitor
public final void setClosureMonitor(org.apache.directory.shared.ldap.cursor.ClosureMonitor monitor)
- Specified by:
setClosureMonitor
in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<K,E,ID>>
checkNotClosed
protected final void checkNotClosed(java.lang.String operation)
throws java.lang.Exception
- Throws:
java.lang.Exception
isClosed
public final boolean isClosed()
- Specified by:
isClosed
in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<K,E,ID>>
close
public void close()
throws java.lang.Exception
- Specified by:
close
in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<K,E,ID>>
- Throws:
java.lang.Exception
close
public void close(java.lang.Exception cause)
throws java.lang.Exception
- Specified by:
close
in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<K,E,ID>>
- Throws:
java.lang.Exception
iterator
public java.util.Iterator<IndexEntry<K,E,ID>> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<IndexEntry<K,E,ID>>
Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.