org.openorb.pss.connector.database
public class DatabaseIterator extends Object implements Iterator
Constructor Summary | |
---|---|
DatabaseIterator(StorageHomeBase home, DatabaseCatalog catalog)
Constructor |
Method Summary | |
---|---|
StorageObject | detach()
Returns the current element and detached it from the iterator. |
StorageObject | element()
Returns the current element.
|
void | fetch(byte[] pid)
Set the current element of the iterator by providing a PID |
boolean | hasMoreElements()
Returns true if there are some other elements |
void | next()
Shifts to the next element |
void | reset()
Resets the iterator to the first element |
void | set(int position)
Set the current position for the iterator |