Skip to content

Most visited

Recently visited

navigation
Added in API level 1

RowSetReader

public interface RowSetReader

javax.sql.RowSetReader


An interface which provides functionality for a disconnected RowSet to get data from a database into its rows. The RowSet calls the RowSetReader interface when the RowSet's execute method is invoked - a RowSetReader must first be registered with the RowSet for this to work.

See also:

Summary

Public methods

abstract void readData(RowSetInternal theCaller)

Reads new data into the RowSet.

Public methods

readData

Added in API level 1
void readData (RowSetInternal theCaller)

Reads new data into the RowSet. The calling RowSet object must itself implement the RowSetInternal interface and the RowSetReader must be registered as a reader on the RowSet.

This method adds rows into the calling RowSet. The reader may invoke any of the RowSet's methods except for the execute method (calling execute will cause an SQLException to be thrown). However, when the reader calls the RowSet's methods, no events are sent to listeners - any listeners are informed by the calling RowSet's execute method once the reader returns from the readData method.

Parameters
theCaller RowSetInternal: must be the calling RowSet object, which must have implemented the RowSetInternal interface.
Throws
SQLException if a problem occurs accessing the database or if the reader calls the execute() method.

See also:

This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.