public class AllEntriesCursor<ID> extends AbstractIndexCursor<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Constructor and Description |
---|
AllEntriesCursor(Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db) |
Modifier and Type | Method and Description |
---|---|
void |
after(IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) |
void |
afterLast() |
void |
afterValue(ID key,
ID value)
An alternative to calling after(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
boolean |
available() |
void |
before(IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) |
void |
beforeFirst() |
void |
beforeValue(ID id,
ID value)
An alternative to calling before(IndexEntry) which often may require
wrapping an id and value in a newly created IndexEntry object that may
be an unnecessary object creation.
|
boolean |
first() |
IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, close, close, isClosed, iterator, setClosureMonitor
public void afterValue(ID key, ID value) throws Exception
IndexCursor
key
- the id for the entryvalue
- the value to advance just after the last valueException
- if there are faults performing this operationpublic void beforeValue(ID id, ID value) throws Exception
IndexCursor
id
- the id for the entryvalue
- the value to advance just beforeException
- if there are faults performing this operationpublic void after(IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) throws Exception
Exception
public boolean available()
public void before(IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> indexEntry) throws Exception
Exception
public IndexEntry<ID,org.apache.directory.shared.ldap.entry.ServerEntry,ID> get() throws Exception
Exception
public boolean isElementReused()
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.