API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.sql. RowSet View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Wrapper
      ResultSet
          RowSet
Subinterfaces
Description
public interface RowSet
  The interface that adds support to the JDBC API for the JavaBeansTM component model.
See also:   
Methods
Hide/Show inherited methods
public void addRowSetListener (RowSetListener listener)
  Registers the given listener so that it will be notified of events that occur on this RowSet object.
public void clearParameters () throws SQLException
  Clears the parameters set for this RowSet object's command.
public void execute () throws SQLException
  Fills this RowSet object with data.
public String getCommand ()
  Retrieves this RowSet object's command property.
public String getDataSourceName ()
  Retrieves the logical name that identifies the data source for this RowSet object.
public boolean getEscapeProcessing () throws SQLException
  Retrieves whether escape processing is enabled for this RowSet object.
public int getMaxFieldSize () throws SQLException
  Retrieves the maximum number of bytes that may be returned for certain column values.
public int getMaxRows () throws SQLException
  Retrieves the maximum number of rows that this RowSet object can contain.
public String getPassword ()
  Retrieves the password used to create a database connection.
public int getQueryTimeout () throws SQLException
  Retrieves the maximum number of seconds the driver will wait for a statement to execute.
public int getTransactionIsolation ()
  Retrieves the transaction isolation level set for this RowSet object.
public Map<String, Class<Object>> getTypeMap () throws SQLException
  Retrieves the Map object associated with this RowSet object, which specifies the custom mapping of SQL user-defined types, if any.
public String getUrl () throws SQLException
  Retrieves the url property this RowSet object will use to create a connection if it uses the DriverManager instead of a DataSource object to establish the connection.
public String getUsername ()
  Retrieves the username used to create a database connection for this RowSet object.
public boolean isReadOnly ()
  Retrieves whether this RowSet object is read-only.
public void removeRowSetListener (RowSetListener listener)
  Removes the specified listener from the list of components that will be notified when an event occurs on this RowSet object.
public void setArray (int i, Array x) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given Array value.
public void setAsciiStream (int parameterIndex, InputStream x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given input stream.
public void setAsciiStream (int parameterIndex, InputStream x, int length) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value.
public void setAsciiStream (String parameterName, InputStream x) throws SQLException
  Sets the designated parameter to the given input stream.
public void setAsciiStream (String parameterName, InputStream x, int length) throws SQLException
  Sets the designated parameter to the given input stream, which will have the specified number of bytes.
public void setBigDecimal (int parameterIndex, BigDecimal x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.math.BigDeciaml value.
public void setBigDecimal (String parameterName, BigDecimal x) throws SQLException
  Sets the designated parameter to the given java.math.BigDecimal value.
public void setBinaryStream (int parameterIndex, InputStream x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given input stream.
public void setBinaryStream (int parameterIndex, InputStream x, int length) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.io.InputStream value.
public void setBinaryStream (String parameterName, InputStream x) throws SQLException
  Sets the designated parameter to the given input stream.
public void setBinaryStream (String parameterName, InputStream x, int length) throws SQLException
  Sets the designated parameter to the given input stream, which will have the specified number of bytes.
public void setBlob (int i, Blob x) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given Blob value.
public void setBlob (int parameterIndex, InputStream inputStream) throws SQLException
  Sets the designated parameter to a InputStream object.
public void setBlob (int parameterIndex, InputStream inputStream, long length) throws SQLException
  Sets the designated parameter to a InputStream object.
public void setBlob (String parameterName, Blob x) throws SQLException
  Sets the designated parameter to the given java.sql.Blob object.
public void setBlob (String parameterName, InputStream inputStream) throws SQLException
  Sets the designated parameter to a InputStream object.
public void setBlob (String parameterName, InputStream inputStream, long length) throws SQLException
  Sets the designated parameter to a InputStream object.
public void setBoolean (int parameterIndex, boolean x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java boolean value.
public void setBoolean (String parameterName, boolean x) throws SQLException
  Sets the designated parameter to the given Java boolean value.
public void setByte (int parameterIndex, byte x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java byte value.
public void setByte (String parameterName, byte x) throws SQLException
  Sets the designated parameter to the given Java byte value.
public void setBytes (int parameterIndex, byte[] x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java array of byte values.
public void setBytes (String parameterName, byte[] x) throws SQLException
  Sets the designated parameter to the given Java array of bytes.
public void setCharacterStream (int parameterIndex, Reader reader) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Reader object.
public void setCharacterStream (int parameterIndex, Reader reader, int length) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.io.Reader value.
public void setCharacterStream (String parameterName, Reader reader) throws SQLException
  Sets the designated parameter to the given Reader object.
public void setCharacterStream (String parameterName, Reader reader, int length) throws SQLException
  Sets the designated parameter to the given Reader object, which is the given number of characters long.
public void setClob (int i, Clob x) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given Clob value.
public void setClob (int parameterIndex, Reader reader) throws SQLException
  Sets the designated parameter to a Reader object.
public void setClob (int parameterIndex, Reader reader, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setClob (String parameterName, Clob x) throws SQLException
  Sets the designated parameter to the given java.sql.Clob object.
public void setClob (String parameterName, Reader reader) throws SQLException
  Sets the designated parameter to a Reader object.
public void setClob (String parameterName, Reader reader, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setCommand (String cmd) throws SQLException
  Sets this RowSet object's command property to the given SQL query.
public void setConcurrency (int concurrency) throws SQLException
  Sets the concurrency of this RowSet object to the given concurrency level.
public void setDataSourceName (String name) throws SQLException
  Sets the data source name property for this RowSet object to the given String.
public void setDate (int parameterIndex, Date x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.sql.Date value.
public void setDate (int parameterIndex, Date x, Calendar cal) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given java.sql.Date value.
public void setDate (String parameterName, Date x) throws SQLException
  Sets the designated parameter to the given java.sql.Date value using the default time zone of the virtual machine that is running the application.
public void setDate (String parameterName, Date x, Calendar cal) throws SQLException
  Sets the designated parameter to the given java.sql.Date value, using the given Calendar object.
public void setDouble (int parameterIndex, double x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java double value.
public void setDouble (String parameterName, double x) throws SQLException
  Sets the designated parameter to the given Java double value.
public void setEscapeProcessing (boolean enable) throws SQLException
  Sets escape processing for this RowSet object on or off.
public void setFloat (int parameterIndex, float x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java float value.
public void setFloat (String parameterName, float x) throws SQLException
  Sets the designated parameter to the given Java float value.
public void setInt (int parameterIndex, int x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java int value.
public void setInt (String parameterName, int x) throws SQLException
  Sets the designated parameter to the given Java int value.
public void setLong (int parameterIndex, long x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java long value.
public void setLong (String parameterName, long x) throws SQLException
  Sets the designated parameter to the given Java long value.
public void setMaxFieldSize (int max) throws SQLException
  Sets the maximum number of bytes that can be returned for a column value to the given number of bytes.
public void setMaxRows (int max) throws SQLException
  Sets the maximum number of rows that this RowSet object can contain to the specified number.
public void setNCharacterStream (int parameterIndex, Reader value) throws SQLException
  Sets the designated parameter in this RowSet object's command to a Reader object.
public void setNCharacterStream (int parameterIndex, Reader value, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNCharacterStream (String parameterName, Reader value) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNCharacterStream (String parameterName, Reader value, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNClob (int parameterIndex, NClob value) throws SQLException
  Sets the designated parameter to a java.sql.NClob object.
public void setNClob (int parameterIndex, Reader reader) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNClob (int parameterIndex, Reader reader, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNClob (String parameterName, NClob value) throws SQLException
  Sets the designated parameter to a java.sql.NClob object.
public void setNClob (String parameterName, Reader reader) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNClob (String parameterName, Reader reader, long length) throws SQLException
  Sets the designated parameter to a Reader object.
public void setNString (int parameterIndex, String value) throws SQLException
  Sets the designated paramter to the given String object.
public void setNString (String parameterName, String value) throws SQLException
  Sets the designated paramter to the given String object.
public void setNull (int parameterIndex, int sqlType) throws SQLException
  Sets the designated parameter in this RowSet object's SQL command to SQL NULL.
public void setNull (int paramIndex, int sqlType, String typeName) throws SQLException
  Sets the designated parameter in this RowSet object's SQL command to SQL NULL.
public void setNull (String parameterName, int sqlType) throws SQLException
  Sets the designated parameter to SQL NULL.
public void setNull (String parameterName, int sqlType, String typeName) throws SQLException
  Sets the designated parameter to SQL NULL.
public void setObject (int parameterIndex, Object x) throws SQLException
  Sets the designated parameter in this RowSet object's command with a Java Object.
public void setObject (int parameterIndex, Object x, int targetSqlType) throws SQLException
  Sets the designated parameter in this RowSet object's command with a Java Object.
public void setObject (int parameterIndex, Object x, int targetSqlType, int scaleOrLength) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given Java Object.
public void setObject (String parameterName, Object x) throws SQLException
  Sets the value of the designated parameter with the given object.
public void setObject (String parameterName, Object x, int targetSqlType) throws SQLException
  Sets the value of the designated parameter with the given object.
public void setObject (String parameterName, Object x, int targetSqlType, int scale) throws SQLException
  Sets the value of the designated parameter with the given object.
public void setPassword (String password) throws SQLException
  Sets the database password for this RowSet object to the given String.
public void setQueryTimeout (int seconds) throws SQLException
  Sets the maximum time the driver will wait for a statement to execute to the given number of seconds.
public void setReadOnly (boolean value) throws SQLException
  Sets whether this RowSet object is read-only to the given boolean.
public void setRef (int i, Ref x) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given Ref value.
public void setRowId (int parameterIndex, RowId x) throws SQLException
  Sets the designated parameter to the given java.sql.RowId object.
public void setRowId (String parameterName, RowId x) throws SQLException
  Sets the designated parameter to the given java.sql.RowId object.
public void setShort (int parameterIndex, short x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java short value.
public void setShort (String parameterName, short x) throws SQLException
  Sets the designated parameter to the given Java short value.
public void setSQLXML (int parameterIndex, SQLXML xmlObject) throws SQLException
  Sets the designated parameter to the given java.sql.SQLXML object.
public void setSQLXML (String parameterName, SQLXML xmlObject) throws SQLException
  Sets the designated parameter to the given java.sql.SQLXML object.
public void setString (int parameterIndex, String x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given Java String value.
public void setString (String parameterName, String x) throws SQLException
  Sets the designated parameter to the given Java String value.
public void setTime (int parameterIndex, Time x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.sql.Time value.
public void setTime (int parameterIndex, Time x, Calendar cal) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given java.sql.Time value.
public void setTime (String parameterName, Time x) throws SQLException
  Sets the designated parameter to the given java.sql.Time value.
public void setTime (String parameterName, Time x, Calendar cal) throws SQLException
  Sets the designated parameter to the given java.sql.Time value, using the given Calendar object.
public void setTimestamp (int parameterIndex, Timestamp x) throws SQLException
  Sets the designated parameter in this RowSet object's command to the given java.sql.Timestamp value.
public void setTimestamp (int parameterIndex, Timestamp x, Calendar cal) throws SQLException
  Sets the designated parameter in this RowSet object's command with the given java.sql.Timestamp value.
public void setTimestamp (String parameterName, Timestamp x) throws SQLException
  Sets the designated parameter to the given java.sql.Timestamp value.
public void setTimestamp (String parameterName, Timestamp x, Calendar cal) throws SQLException
  Sets the designated parameter to the given java.sql.Timestamp value, using the given Calendar object.
public void setTransactionIsolation (int level) throws SQLException
  Sets the transaction isolation level for this RowSet obejct.
public void setType (int type) throws SQLException
  Sets the type of this RowSet object to the given type.
public void setTypeMap (Map<String, Class<Object>> map) throws SQLException
  Installs the given java.util.Map object as the default type map for this RowSet object.
public void setURL (int parameterIndex, URL x) throws SQLException
  Sets the designated parameter to the given java.net.URL value.
public void setUrl (String url) throws SQLException
  Sets the URL this RowSet object will use when it uses the DriverManager to create a connection.
public void setUsername (String name) throws SQLException
  Sets the username property for this RowSet object to the given String.
Fields
Hide/Show inherited fields
publicfinalstatic int CLOSE_CURSORS_AT_COMMIT = "2" [Inherited From ResultSet]
  The constant indicating that open ResultSet objects with this holdability will be closed when the current transaction is commited.
publicfinalstatic int CONCUR_READ_ONLY = "1007" [Inherited From ResultSet]
  The constant indicating the concurrency mode for a ResultSet object that may NOT be updated.
publicfinalstatic int CONCUR_UPDATABLE = "1008" [Inherited From ResultSet]
  The constant indicating the concurrency mode for a ResultSet object that may be updated.
publicfinalstatic int FETCH_FORWARD = "1000" [Inherited From ResultSet]
  The constant indicating that the rows in a result set will be processed in a forward direction; first-to-last.
publicfinalstatic int FETCH_REVERSE = "1001" [Inherited From ResultSet]
  The constant indicating that the rows in a result set will be processed in a reverse direction; last-to-first.
publicfinalstatic int FETCH_UNKNOWN = "1002" [Inherited From ResultSet]
  The constant indicating that the order in which rows in a result set will be processed is unknown.
publicfinalstatic int HOLD_CURSORS_OVER_COMMIT = "1" [Inherited From ResultSet]
  The constant indicating that open ResultSet objects with this holdability will remain open when the current transaction is commited.
publicfinalstatic int TYPE_FORWARD_ONLY = "1003" [Inherited From ResultSet]
  The constant indicating the type for a ResultSet object whose cursor may move only forward.
publicfinalstatic int TYPE_SCROLL_INSENSITIVE = "1004" [Inherited From ResultSet]
  The constant indicating the type for a ResultSet object that is scrollable but generally not sensitive to changes to the data that underlies the ResultSet.
publicfinalstatic int TYPE_SCROLL_SENSITIVE = "1005" [Inherited From ResultSet]
  The constant indicating the type for a ResultSet object that is scrollable and generally sensitive to changes to the data that underlies the ResultSet.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar