public class AndCursor<V> extends AbstractIndexCursor<V>
partitionTxn| Constructor and Description |
|---|
AndCursor(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn,
org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<V,String>> wrapped,
List<Evaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode>> evaluators)
Creates an instance of a AndCursor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterLast() |
void |
beforeFirst() |
void |
close() |
void |
close(Exception cause) |
boolean |
first() |
IndexEntry<V,String> |
get() |
protected String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported
|
boolean |
last() |
boolean |
next(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn) |
boolean |
previous(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn) |
String |
toString() |
String |
toString(String tabs) |
after, available, before, next, previous, setAvailablecheckNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitorclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic AndCursor(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn, org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<V,String>> wrapped, List<Evaluator<? extends org.apache.directory.api.ldap.model.filter.ExprNode>> evaluators)
partitionTxn - The transaction to usewrapped - The encapsulated IndexCursorevaluators - The list of evaluators associated with the elementsprotected String getUnsupportedMessage()
getUnsupportedMessage in class AbstractIndexCursor<V>public void beforeFirst() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void afterLast() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean first() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean last() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean previous(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic boolean next(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic IndexEntry<V,String> get() throws org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,String>>IOExceptionpublic void close(Exception cause) throws IOException
close in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<V,String>>close in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,String>>IOExceptionpublic String toString(String tabs)
toString in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<V,String>>toString in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,String>>Object.toString()public String toString()
toString in class ObjectObject.toString()Copyright © 2003–2023 The Apache Software Foundation. All rights reserved.