FileDocCategorySizeDatePackage
RowSetInternal.javaAPI DocAndroid 1.5 API3496Wed May 06 22:41:06 BST 2009javax.sql

RowSetInternal

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

Fields Summary
Constructors Summary
Methods Summary
public java.sql.ConnectiongetConnection()
Gets the connection associated with this {@code RowSet} object.

return
the connection or {@code null}.
throws
SQLException if there is a problem accessing the database.
since
Android 1.0

public java.sql.ResultSetgetOriginal()
Gets the {@code ResultSet} that was the original (unmodified) content of the {@code RowSet}.

The {@code ResultSet}'s cursor is positioned before the first row of data.

return
the {@code ResultSet} that contained the original data value of the {@code RowSet}.
throws
SQLException if there is a problem accessing the database.
since
Android 1.0

public java.sql.ResultSetgetOriginalRow()
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.

return
a {@code 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).
since
Android 1.0

public java.lang.Object[]getParams()
Gets the parameter values that have been set for this {@code RowSet}'s command.

return
the values of parameters that have been set.
throws
SQLException if there is a problem accessing the database.
since
Android 1.0

public voidsetMetaData(javax.sql.RowSetMetaData theMetaData)
Sets {@code RowSetMetaData} for this {@code RowSet}. The {@code RowSetMetaData} is used by a {@code RowSetReader} to set values giving information about the {@code RowSet}'s columns.

param
theMetaData holds the metadata about the {@code RowSet}'s columns.
throws
SQLException if there is a problem accessing the database.
since
Android 1.0