public interface TupleCursor<K,V> extends org.apache.directory.shared.ldap.cursor.Cursor<Tuple<K,V>>
Modifier and Type | Method and Description |
---|---|
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.
|
void beforeKey(K key) throws Exception
key
- the key to advance just beforeException
- if there are faults peforming this operationvoid afterKey(K key) throws Exception
key
- the key to advance just after the last valueException
- if there are faults peforming this operationvoid beforeValue(K key, V value) throws Exception
key
- the key of the value to advance just beforevalue
- the value to advance just beforeUnsupportedOperationException
- if duplicate keys not supporrtedException
- if there are faults peforming this operationvoid afterValue(K key, V value) throws Exception
key
- the key of the value to advance just aftervalue
- the value to advance just afterUnsupportedOperationException
- if duplicate keys not supporrtedException
- if there are faults peforming this operationCopyright © 2003–2013 The Apache Software Foundation. All rights reserved.