|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.html5.ResultSet
public class ResultSet
Represents database result set for SQL transactions and queries.
Constructor Summary | |
---|---|
ResultSet(int insertId,
int rowsAffected,
ResultSetRows rows)
|
Method Summary | |
---|---|
int |
getLastInsertedRowId()
Gets the row ID of the inserted row if the statement inserted a row. |
int |
getNumberOfRowsAffected()
Gets the number of rows that were changed by the SQL statement. |
ResultSetRows |
rows()
Returns the rows returned by the statement executed in the order returned by the database. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResultSet(int insertId, int rowsAffected, ResultSetRows rows)
Method Detail |
---|
public int getLastInsertedRowId()
public int getNumberOfRowsAffected()
public ResultSetRows rows()
ResultSetRows
containing the database results as returned
by the database. Returns am empty ResultSetRows
if no results were
returned (i.e. ResultSetRowList.size() = 0)public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |