public class AndCursor<V,ID> extends AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
| Constructor and Description |
|---|
AndCursor(IndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> wrapped,
List<Evaluator<? extends org.apache.directory.shared.ldap.filter.ExprNode,org.apache.directory.shared.ldap.entry.ServerEntry,ID>> evaluators) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) |
void |
afterLast() |
void |
afterValue(ID id,
V value)
An alternative to calling after(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
boolean |
available() |
void |
before(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) |
void |
beforeFirst() |
void |
beforeValue(ID id,
V value)
An alternative to calling before(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
void |
close() |
boolean |
first() |
IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, close, isClosed, iterator, setClosureMonitorpublic boolean available()
public void beforeValue(ID id, V value)
IndexCursorid - the id for the entryvalue - the value to advance just beforepublic void afterValue(ID id, V value)
IndexCursorid - the id for the entryvalue - the value to advance just after the last valuepublic void before(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) throws Exception
Exceptionpublic void after(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) throws Exception
Exceptionpublic IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> get() throws Exception
Exceptionpublic boolean isElementReused()
public void close()
throws Exception
close in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>>close in class AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>ExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.