public abstract class AbstractIndexCursor<V> extends org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<V,String>>
Modifier and Type | Field and Description |
---|---|
protected 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
afterLast, beforeFirst, first, get, last
forEach, spliterator
protected 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
protected 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.