K
- The type for the KeyV
- The type for the stored valuepublic interface TupleCursor<K,V> extends Cursor<K>
method. The cursor must be closed
when the user is done with it.
AFTER_LAST, BEFORE_FIRST
Modifier and Type | Method and Description |
---|---|
void |
afterLast()
Change the position in the current cursor to set it after the last key
|
void |
beforeFirst()
Change the position in the current cursor before the first key
|
long |
getCreationDate()
Get the creation date
|
long |
getRevision()
Get the current revision
|
boolean |
hasNext()
Tells if the cursor can return a next element
|
boolean |
hasNextKey()
Tells if the cursor can return a next key
|
boolean |
hasPrev()
Tells if the cursor can return a previous element
|
boolean |
hasPrevKey()
Tells if the cursor can return a previous key
|
Tuple<K,V> |
next()
Find the next key/value
|
Tuple<K,V> |
nextKey()
Get the next non-duplicate key.
|
Tuple<K,V> |
prev()
Find the previous key/value
|
Tuple<K,V> |
prevKey()
Get the previous non-duplicate key.
|
boolean hasNext() throws EndOfFileExceededException, IOException
hasNext
in interface Cursor<K>
IOException
EndOfFileExceededException
Tuple<K,V> next() throws EndOfFileExceededException, IOException
IOException
EndOfFileExceededException
boolean hasPrev() throws EndOfFileExceededException, IOException
hasPrev
in interface Cursor<K>
IOException
EndOfFileExceededException
Tuple<K,V> prev() throws EndOfFileExceededException, IOException
IOException
EndOfFileExceededException
long getRevision()
long getCreationDate()
boolean hasNextKey() throws EndOfFileExceededException, IOException
IOException
EndOfFileExceededException
Tuple<K,V> nextKey() throws EndOfFileExceededException, IOException
EndOfFileExceededException
IOException
boolean hasPrevKey() throws EndOfFileExceededException, IOException
IOException
EndOfFileExceededException
Tuple<K,V> prevKey() throws EndOfFileExceededException, IOException
EndOfFileExceededException
IOException
void beforeFirst() throws IOException
beforeFirst
in interface Cursor<K>
IOException
void afterLast() throws IOException
afterLast
in interface Cursor<K>
IOException
Copyright © 2012-2013 Apache Mavibot Project Parent. All Rights Reserved.