public interface Cursor<T extends Pojo>
Storage
.PreparedStatement.executeQuery()
boolean hasNext()
true
if there are more elements, false
otherwise.StorageException
- If there was a problem with underlying Storage
.T next()
hasNext()
prior to calling this method.
The next element of the result set. null
if there is no
next element.
Please note: This will change with the next
release. In the next major release a
NoSuchElementException
will be thrown if there is no next
element. I.e. hasNext()
returns false
, but
next()
is still being called.
StorageException
- If there was a problem with underlying Storage
.Copyright © 2015. All Rights Reserved.