|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.model.cursor.AbstractCursor<IndexEntry<V,ID>>
org.apache.directory.server.xdbm.AbstractIndexCursor<V,org.apache.directory.shared.ldap.model.entry.Entry,ID>
org.apache.directory.server.xdbm.search.impl.AndCursor<V,ID>
public class AndCursor<V,ID>
A Cursor returning candidates satisfying a logical conjunction expression.
| Constructor Summary | |
|---|---|
AndCursor(IndexCursor<V,org.apache.directory.shared.ldap.model.entry.Entry,ID> wrapped,
List<Evaluator<? extends org.apache.directory.shared.ldap.model.filter.ExprNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>> evaluators)
Creates an instance of a AndCursor. |
|
| Method Summary | |
|---|---|
void |
afterLast()
|
void |
beforeFirst()
|
void |
close()
|
boolean |
first()
|
IndexEntry<V,ID> |
get()
|
protected String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported |
boolean |
last()
|
boolean |
next()
|
boolean |
previous()
|
| Methods inherited from class org.apache.directory.server.xdbm.AbstractIndexCursor |
|---|
after, afterValue, available, before, beforeValue, isAfterLast, isBeforeFirst, isFirst, isLast, iterator, setAvailable |
| Methods inherited from class org.apache.directory.shared.ldap.model.cursor.AbstractCursor |
|---|
checkNotClosed, close, isClosed, setClosureMonitor |
| 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.model.cursor.Cursor |
|---|
close, isClosed, setClosureMonitor |
| Constructor Detail |
|---|
public AndCursor(IndexCursor<V,org.apache.directory.shared.ldap.model.entry.Entry,ID> wrapped,
List<Evaluator<? extends org.apache.directory.shared.ldap.model.filter.ExprNode,org.apache.directory.shared.ldap.model.entry.Entry,ID>> evaluators)
wrapped - The encapsulated IndexCursorevaluators - The list of evaluators associated wth the elements| Method Detail |
|---|
protected String getUnsupportedMessage()
getUnsupportedMessage in class AbstractIndexCursor<V,org.apache.directory.shared.ldap.model.entry.Entry,ID>
public void beforeFirst()
throws Exception
Exception
public void afterLast()
throws Exception
Exception
public boolean first()
throws Exception
Exception
public boolean last()
throws Exception
Exception
public boolean previous()
throws Exception
Exception
public boolean next()
throws Exception
Exception
public IndexEntry<V,ID> get()
throws Exception
Exception
public void close()
throws Exception
close in interface org.apache.directory.shared.ldap.model.cursor.Cursor<IndexEntry<V,ID>>close in class org.apache.directory.shared.ldap.model.cursor.AbstractCursor<IndexEntry<V,ID>>Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||