K
- The Tuple key typeV
- The Value type stored in the Tuplepublic interface TupleCursor<K,V> extends 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.
|
after, afterLast, available, before, beforeFirst, close, close, first, get, isAfterLast, isBeforeFirst, isClosed, isFirst, isLast, last, next, previous, setClosureMonitor
void beforeKey(K key) throws Exception
key
- the key to advance just beforeException
- if there are faults performing this operationvoid afterKey(K key) throws Exception
key
- the key to advance just after the last valueException
- if there are faults performing this operationvoid beforeValue(K key, V value) throws Exception
key
- the key of the value to advance just beforevalue
- the value to advance just beforeException
- if there are faults performing this operationvoid afterValue(K key, V value) throws Exception
key
- the key of the value to advance just aftervalue
- the value to advance just afterException
- if there are faults performing this operationCopyright © 2003-2014 The Apache Software Foundation. All Rights Reserved.