|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public 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.cursor.Cursor |
---|
after, afterLast, available, before, beforeFirst, close, close, first, get, isClosed, isElementReused, last, next, previous, setClosureMonitor |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
void beforeKey(K key) throws java.lang.Exception
key
- the key to advance just before
java.lang.Exception
- if there are faults peforming this operationvoid afterKey(K key) throws java.lang.Exception
key
- the key to advance just after the last value
java.lang.Exception
- if there are faults peforming this operationvoid beforeValue(K key, V value) throws java.lang.Exception
key
- the key of the value to advance just beforevalue
- the value to advance just before
java.lang.UnsupportedOperationException
- if duplicate keys not supporrted
java.lang.Exception
- if there are faults peforming this operationvoid afterValue(K key, V value) throws java.lang.Exception
key
- the key of the value to advance just aftervalue
- the value to advance just after
java.lang.UnsupportedOperationException
- if duplicate keys not supporrted
java.lang.Exception
- if there are faults peforming this operation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |