public interface RowSetInternal
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
.Modifier and Type | Method and Description |
---|---|
Connection |
getConnection()
Gets the connection associated with this
RowSet object. |
ResultSet |
getOriginal()
Gets the
ResultSet that was the original (unmodified) content of
the RowSet . |
ResultSet |
getOriginalRow()
Gets the original value of the current row only.
|
Object[] |
getParams()
Gets the parameter values that have been set for this
RowSet 's
command. |
void |
setMetaData(RowSetMetaData theMetaData)
Sets
RowSetMetaData for this RowSet . |
Connection getConnection() throws SQLException
RowSet
object.null
.SQLException
- if there is a problem accessing the database.ResultSet getOriginal() throws SQLException
ResultSet
that was the original (unmodified) content of
the RowSet
.
The ResultSet
's cursor is positioned before the first row of
data.
ResultSet
that contained the original data value of
the RowSet
.SQLException
- if there is a problem accessing the database.ResultSet getOriginalRow() throws SQLException
ResultSet
containing the value of the current row only.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).Object[] getParams() throws SQLException
RowSet
's
command.SQLException
- if there is a problem accessing the database.void setMetaData(RowSetMetaData theMetaData) throws SQLException
RowSetMetaData
for this RowSet
. The RowSetMetaData
is used by a RowSetReader
to set values giving
information about the RowSet
's columns.theMetaData
- holds the metadata about the RowSet
's columns.SQLException
- if there is a problem accessing the database.