public abstract class AbstractIndexCursor<V> extends org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,String>>
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.directory.server.core.api.partition.PartitionTxn |
partitionTxn
A transaction associated with this cursor
|
protected static String |
UNSUPPORTED_MSG
The message used for unsupported operations
|
| Constructor and Description |
|---|
AbstractIndexCursor() |
| Modifier and Type | Method and Description |
|---|---|
void |
after(IndexEntry<V,String> element) |
boolean |
available() |
void |
before(IndexEntry<V,String> element) |
protected abstract String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported
|
boolean |
next() |
boolean |
previous() |
protected boolean |
setAvailable(boolean available) |
checkNotClosed, close, close, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitafterLast, beforeFirst, first, get, lastforEach, spliteratorprotected org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn
protected static final String UNSUPPORTED_MSG
public AbstractIndexCursor()
public boolean available()
protected abstract String getUnsupportedMessage()
public void after(IndexEntry<V,String> element) 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 before(IndexEntry<V,String> element) 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.CursorExceptionprotected boolean setAvailable(boolean available)
public boolean previous() 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() 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.CursorExceptionCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.