public class EmptyIndexCursor<K> extends AbstractIndexCursor<K>
partitionTxn, UNSUPPORTED_MSG| Constructor and Description |
|---|
EmptyIndexCursor(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn) |
| Modifier and Type | Method and Description |
|---|---|
void |
after(IndexEntry<K,String> element) |
void |
afterLast() |
void |
afterValue(String id,
K indexValue) |
void |
before(IndexEntry<K,String> element) |
void |
beforeFirst() |
void |
beforeValue(String id,
K indexValue) |
void |
close() |
void |
close(Exception cause) |
boolean |
first() |
IndexEntry<K,String> |
get() |
protected String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported
|
boolean |
last() |
boolean |
next() |
boolean |
previous() |
available, setAvailablecheckNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic EmptyIndexCursor(org.apache.directory.server.core.api.partition.PartitionTxn partitionTxn)
public void before(IndexEntry<K,String> element) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
before in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<K,String>>before in class AbstractIndexCursor<K>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionprotected String getUnsupportedMessage()
getUnsupportedMessage in class AbstractIndexCursor<K>public void after(IndexEntry<K,String> element) throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
after in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<K,String>>after in class AbstractIndexCursor<K>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic 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() throws org.apache.directory.api.ldap.model.exception.LdapException, org.apache.directory.api.ldap.model.cursor.CursorException
previous in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<K,String>>previous in class AbstractIndexCursor<K>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
next in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<K,String>>next in class AbstractIndexCursor<K>org.apache.directory.api.ldap.model.exception.LdapExceptionorg.apache.directory.api.ldap.model.cursor.CursorExceptionpublic IndexEntry<K,String> get() throws org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorExceptionpublic void afterValue(String id, K indexValue) throws Exception
Exceptionpublic void beforeValue(String id, K indexValue) throws Exception
Exceptionpublic void close() throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<K,String>>IOExceptionpublic void close(Exception cause) throws IOException
close in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<K,String>>close in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<K,String>>IOExceptionCopyright © 2003–2023 The Apache Software Foundation. All rights reserved.