Skip to content

Most visited

Recently visited

navigation
Added in API level 1

RowSetInternal

public interface RowSetInternal

javax.sql.RowSetInternal


An interface provided by a RowSet object to let either a RowSetReader or a RowSetWriter access its internal state, thereby providing facilities to read and update the state of the RowSet.

Summary

Public methods

abstract Connection getConnection()

Gets the connection associated with this RowSet object.

abstract ResultSet getOriginal()

Gets the ResultSet that was the original (unmodified) content of the RowSet.

abstract ResultSet getOriginalRow()

Gets the original value of the current row only.

abstract Object[] getParams()

Gets the parameter values that have been set for this RowSet's command.

abstract void setMetaData(RowSetMetaData theMetaData)

Sets RowSetMetaData for this RowSet.

Public methods

getConnection

Added in API level 1
Connection getConnection ()

Gets the connection associated with this RowSet object.

Returns
Connection the connection or null.
Throws
SQLException if there is a problem accessing the database.

getOriginal

Added in API level 1
ResultSet getOriginal ()

Gets the ResultSet that was the original (unmodified) content of the RowSet.

The ResultSet's cursor is positioned before the first row of data.

Returns
ResultSet the ResultSet that contained the original data value of the RowSet.
Throws
SQLException if there is a problem accessing the database.

getOriginalRow

Added in API level 1
ResultSet getOriginalRow ()

Gets the original value of the current row only. If the current row did not have an original value, then an empty value is returned.

Returns
ResultSet a ResultSet containing the value of the current row only.
Throws
SQLException if there is a problem accessing the database, or if the cursor is not on a valid row (before the first row, after the last one or pointing to the insert row).

getParams

Added in API level 1
Object[] getParams ()

Gets the parameter values that have been set for this RowSet's command.

Returns
Object[] the values of parameters that have been set.
Throws
SQLException if there is a problem accessing the database.

setMetaData

Added in API level 1
void setMetaData (RowSetMetaData theMetaData)

Sets RowSetMetaData for this RowSet. The RowSetMetaData is used by a RowSetReader to set values giving information about the RowSet's columns.

Parameters
theMetaData RowSetMetaData: holds the metadata about the RowSet's columns.
Throws
SQLException if there is a problem accessing the database.
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.