O'Reilly logo

Database Programming with JDBC & Java, Second Edition by George Reese

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

RowSetReader

Synopsis

Interface Name: javax.sql.RowSetReader

Superclass: None

Immediate Subclasses: None

Interfaces Implemented: None

Availability: New as of JDK 1.2

Description

A class implementing the RowSetReader interface registers itself with a RowSet object that supports the reader/writer paradigm. A RowSet then calls the RowSetReader to produce a new set of rows that will become the contents of the RowSet.

Class Summary

public interface RowSetReader {
    void readData(RowSetInternal rsi) throws java.sql.SQLException;
}

Object Methods

readData( )

public void readData(RowSetInternal rsi)
  throws java.sql.SQLException;
Description

This method reads the new contents of a rowset. The execute( ) method in a rowset calls this method for rowsets that support the reader/writer paradigm.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required