public class GreaterEqCursor<V,ID> extends AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Constructor and Description |
---|
GreaterEqCursor(Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db,
GreaterEqEvaluator greaterEqEvaluator) |
Modifier and Type | Method and Description |
---|---|
void |
after(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) |
void |
afterLast() |
void |
afterValue(ID id,
V 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<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) |
void |
beforeFirst() |
void |
beforeValue(ID id,
V 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.
|
void |
close() |
boolean |
first() |
IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> |
get() |
boolean |
isElementReused() |
boolean |
last() |
boolean |
next() |
boolean |
previous() |
checkNotClosed, close, isClosed, iterator, setClosureMonitor
public GreaterEqCursor(Store<org.apache.directory.shared.ldap.entry.ServerEntry,ID> db, GreaterEqEvaluator greaterEqEvaluator) throws Exception
Exception
public boolean available()
public void beforeValue(ID id, V value) throws Exception
IndexCursor
id
- the id for the entryvalue
- the value to advance just beforeException
- if there are faults performing this operationpublic void afterValue(ID id, V value) throws Exception
IndexCursor
id
- the id for the entryvalue
- the value to advance just after the last valueException
- if there are faults performing this operationpublic void before(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) throws Exception
Exception
public void after(IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> element) throws Exception
Exception
public IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID> get() throws Exception
Exception
public boolean isElementReused()
public void close() throws Exception
close
in interface org.apache.directory.shared.ldap.cursor.Cursor<IndexEntry<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>>
close
in class AbstractIndexCursor<V,org.apache.directory.shared.ldap.entry.ServerEntry,ID>
Exception
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.