Interface Rowset

All Superinterfaces:
Iterable<Row>
All Known Implementing Classes:
RowsResponseRowset

public interface Rowset extends Iterable<Row>
Provides an iterable interface over the response rows that hides the differences between the simple and extended response formats. You may obtain one of these objects from SelectRowsResponse.getRowset() and may use it in a standard for-each loop, like so:

 SelectRowsResponse resp = myCommand.execute(...);
 for (Row row : resp.getRowset())
 {
      Object value = row.getValue("MyColumn");
 }
 
  • Method Details

    • getSize

      int getSize()