ResultSet
A result set representing the query result. The result set is an iterator of the Result objects.
Functions
Return List of Results. List is unmodifiable and only supports int get(int index), int size(), boolean isEmpty() and Iterator
Return Iterator of Results. Once called iterator(), next() method return null. Don't call next() and iterator() together.
Move the cursor forward one row from its current row position. Caution: next() method and iterator() method share same data structure. Please don't use them together. Caution: In case ResultSet is obtained from QueryChangeListener, and QueryChangeListener is already removed from Query, ResultSet is already freed. And this next() method returns null.