Android
javax.sql
public interface

javax.sql.RowSetReader

javax.sql.RowSetReader

An interface which provides functionality for a disconnected RowSet to get data from a data source 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.

Summary

Public Methods

          void  readData(RowSetInternal theCaller)
Reads new data into the RowSet.

Details

Public Methods

public 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 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 RowSet.execute method.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48