| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RowSetInternal
The interface that a RowSet object implements in order to 
 present itself to a RowSetReader or RowSetWriter
 object. The RowSetInternal interface contains 
 methods that let the reader or writer access and modify the internal
 state of the rowset.
| Method Summary | |
|---|---|
|  Connection | getConnection()Retrieves the Connectionobject that was passed to thisRowSetobject. | 
|  ResultSet | getOriginal()Retrieves a ResultSetobject containing the original
 value of thisRowSetobject. | 
|  ResultSet | getOriginalRow()Retrieves a ResultSetobject containing the original value
 of the current row only. | 
|  Object[] | getParams()Retrieves the parameters that have been set for this RowSetobject's command. | 
|  void | setMetaData(RowSetMetaData md)Sets the given RowSetMetaDataobject as theRowSetMetaDataobject for thisRowSetobject. | 
| Method Detail | 
|---|
Object[] getParams()
                   throws SQLException
RowSet object's command.
RowSet
         object's command
SQLException - if a database access error occurs
Connection getConnection()
                         throws SQLException
Connection object that was passed to this
 RowSet object.
Connection object passed to the rowset 
      or null if none was passed
SQLException - if a database access error occurs
void setMetaData(RowSetMetaData md)
                 throws SQLException
RowSetMetaData object as the
 RowSetMetaData object for this RowSet
 object. The RowSetReader object associated with the rowset 
 will use RowSetMetaData methods to set the values giving
 information about the rowset's columns.
md - the RowSetMetaData object that will be set with
        information about the rowset's columns
SQLException - if a database access error occurs
ResultSet getOriginal()
                      throws SQLException
ResultSet object containing the original
 value of this RowSet object.
 
 The cursor is positioned before the first row in the result set.
 Only rows contained in the result set returned by the method
 getOriginal are said to have an original value.
SQLException - if a database access error occurs
ResultSet getOriginalRow()
                         throws SQLException
ResultSet object containing the original value
 of the current row only.  If the current row has no original value,
 an empty result set is returned. If there is no current row,
 an exception is thrown.
ResultSet
          object
SQLException - if a database access error occurs or this method
           is called while the cursor is on the insert row, before the 
           first row, or after the last row| 
 | Java™ Platform Standard Ed. 6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.