|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
K - The Tuple key typeV - The Value type stored in the Tuplepublic interface TupleCursor<K,V>
A Cursor introducing new advance methods designed to reduce some inefficiencies encountered when scanning over Tuples.
| Method Summary | |
|---|---|
void |
afterKey(K key)
An alternative to calling after(Tuple) which often may require wrapping a key in a newly created Tuple object that may be unnecessary. |
void |
afterValue(K key,
V value)
An alternative to calling after(Tuple) which often may require wrapping a key and a value in a newly created Tuple object that may be unnecessary. |
void |
beforeKey(K key)
An alternative to calling before(Tuple) which often may require wrapping a key in a newly created Tuple object that may be unnecessary. |
void |
beforeValue(K key,
V value)
An alternative to calling before(Tuple) which often may require wrapping a key and a value in a newly created Tuple object that may be unnecessary. |
| Methods inherited from interface org.apache.directory.shared.ldap.model.cursor.Cursor |
|---|
after, afterLast, available, before, beforeFirst, close, close, first, get, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, next, previous, setClosureMonitor |
| Methods inherited from interface java.lang.Iterable |
|---|
iterator |
| Method Detail |
|---|
void beforeKey(K key)
throws Exception
key - the key to advance just before
Exception - if there are faults performing this operation
void afterKey(K key)
throws Exception
key - the key to advance just after the last value
Exception - if there are faults performing this operation
void beforeValue(K key,
V value)
throws Exception
key - the key of the value to advance just beforevalue - the value to advance just before
Exception - if there are faults performing this operation
void afterValue(K key,
V value)
throws Exception
key - the key of the value to advance just aftervalue - the value to advance just after
Exception - if there are faults performing this operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||