public class PresenceCursor extends AbstractIndexCursor<String>
Constructor and Description |
---|
PresenceCursor(Store store,
PresenceEvaluator presenceEvaluator) |
Modifier and Type | Method and Description |
---|---|
void |
after(IndexEntry<String,String> element) |
void |
afterLast() |
boolean |
available() |
void |
before(IndexEntry<String,String> element) |
void |
beforeFirst() |
void |
close() |
void |
close(Exception cause) |
boolean |
first() |
IndexEntry<String,String> |
get() |
protected String |
getUnsupportedMessage()
Gets the message to return for operations that are not supported
|
boolean |
last() |
boolean |
next() |
boolean |
previous() |
String |
toString() |
String |
toString(String tabs) |
setAvailable
checkNotClosed, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, iterator, setClosureMonitor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public PresenceCursor(Store store, PresenceEvaluator presenceEvaluator) throws Exception
Exception
protected String getUnsupportedMessage()
getUnsupportedMessage
in class AbstractIndexCursor<String>
public boolean available()
AbstractIndexCursor
available
in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<String,String>>
available
in class AbstractIndexCursor<String>
public void before(IndexEntry<String,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<String,String>>
before
in class AbstractIndexCursor<String>
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public void after(IndexEntry<String,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<String,String>>
after
in class AbstractIndexCursor<String>
org.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
public 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.LdapException
org.apache.directory.api.ldap.model.cursor.CursorException
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
public IndexEntry<String,String> get() throws org.apache.directory.api.ldap.model.cursor.CursorException
org.apache.directory.api.ldap.model.cursor.CursorException
public void close()
close
in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<String,String>>
close
in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<String,String>>
public void close(Exception cause)
close
in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<String,String>>
close
in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<String,String>>
public String toString(String tabs)
toString
in interface org.apache.directory.api.ldap.model.cursor.Cursor<IndexEntry<String,String>>
toString
in class org.apache.directory.api.ldap.model.cursor.AbstractCursor<IndexEntry<String,String>>
Object.toString()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2019. All rights reserved.