⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 resultset.java

📁 this gcc-g++-3.3.1.tar.gz is a source file of gcc, you can learn more about gcc through this codes f
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
  /**   * This method updates the specified column to have a java.sql.Time value.  This   * does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @exception SQLException If an error occurs.   */  public void updateTime(String columnName, Time x) throws SQLException;  /**   * This method updates the specified column to have a java.sql.Timestamp value.     * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @exception SQLException If an error occurs.   */  public void updateTimestamp(String columnName, Timestamp x)    throws SQLException;  /**   * This method updates the specified column from an ASCII text stream.   * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @param length The length of the stream.   * @exception SQLException If an error occurs.   */  public void updateAsciiStream(String columnName, InputStream x, int length)    throws SQLException;  /**   * This method updates the specified column from a binary stream.   * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @param length The length of the stream.   * @exception SQLException If an error occurs.   */  public void updateBinaryStream(String columnName, InputStream x, int length)    throws SQLException;  /**   * This method updates the specified column from a character stream.   * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @param length The length of the stream.   *   * @exception SQLException If an error occurs.   */  public void updateCharacterStream(String columnName, Reader reader,    int length) throws SQLException;  /**   * This method updates the specified column to have an Object value.     * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @exception SQLException If an error occurs.   */  public void updateObject(String columnName, Object x, int scale)    throws SQLException;  /**   * This method updates the specified column to have an Object value.     * This does not update the actual database.  <code>updateRow</code> must be   * called in order to do that.   *   * @param name The name of the column to update.   * @param value The new value of the column.   * @param scale The scale of the object in question, which is used only   *        for numeric type objects.   * @exception SQLException If an error occurs.   */  public void updateObject(String columnName, Object x) throws SQLException;  /**   * This method inserts the current row into the database.  The result set   * must be positioned on the insert row in order to call this method   * successfully.   *   * @exception SQLException If an error occurs.   */  public void insertRow() throws SQLException;  /**   * This method updates the current row in the database.   *   * @exception SQLException If an error occurs.   */  public void updateRow() throws SQLException;  /**   * This method deletes the current row in the database.   *   * @exception SQLException If an error occurs.   */  public void deleteRow() throws SQLException;  /**   * This method refreshes the contents of the current row from the database.   *   * @exception SQLException If an error occurs.   */  public void refreshRow() throws SQLException;  /**   * This method cancels any changes that have been made to a row.  If    * the <code>rowUpdate</code> method has been called, then the changes   * cannot be undone.   *   * @exception SQLException If an error occurs.   */  public void cancelRowUpdates() throws SQLException;  /**   * This method positions the result set to the "insert row", which allows   * a new row to be inserted into the database from the result set.   *   * @exception SQLException If an error occurs.   */  public void moveToInsertRow() throws SQLException;  /**   * This method moves the result set position from the insert row back to   * the current row that was selected prior to moving to the insert row.   *   * @exception SQLException If an error occurs.   */  public void moveToCurrentRow() throws SQLException;  /**   * This method returns a the <code>Statement</code> that was used to   * produce this result set.   *   * @return The <code>Statement</code> used to produce this result set.   *   * @exception SQLException If an error occurs.   */  public Statement getStatement() throws SQLException;  /**   * This method returns the value of the specified column as a Java   * <code>Object</code> using the specified SQL type to Java type map.   *   * @param index The index of the column to return.   * @param map The SQL type to Java type map to use.   * @return The value of the column as an <code>Object</code>.   * @exception SQLException If an error occurs.   */  public Object getObject(int i, Map map) throws SQLException;  /**   * This method returns a <code>Ref</code> for the specified column which   * represents the structured type for the column.   *   * @param index  The index of the column to return.   * @return A <code>Ref</code> object for the column   * @exception SQLException If an error occurs.   */  public Ref getRef(int i) throws SQLException;  /**   * This method returns the specified column value as a BLOB.   *   * @param index The index of the column value to return.   * @return The value of the column as a BLOB.   * @exception SQLException If an error occurs.   */  public Blob getBlob(int i) throws SQLException;  /**   * This method returns the specified column value as a CLOB.   *   * @param index The index of the column value to return.   * @return The value of the column as a CLOB.   * @exception SQLException If an error occurs.   */  public Clob getClob(int i) throws SQLException;  /**   * This method returns the specified column value as an <code>Array</code>.   *   * @param index The index of the column value to return.   * @return The value of the column as an <code>Array</code>.   * @exception SQLException If an error occurs.   */  public Array getArray(int i) throws SQLException;  /**   * This method returns the value of the specified column as a Java   * <code>Object</code> using the specified SQL type to Java type map.   *   * @param name The name of the column to return.   * @param map The SQL type to Java type map to use.   * @return The value of the column as an <code>Object</code>.   * @exception SQLException If an error occurs.   */  public Object getObject(String colName, Map map) throws SQLException;  /**   * This method returns a <code>Ref</code> for the specified column which   * represents the structured type for the column.   *   * @param index  The index of the column to return.   * @return A <code>Ref</code> object for the column   * @exception SQLException If an error occurs.   */  public Ref getRef(String colName) throws SQLException;  /**   * This method returns the specified column value as a BLOB.   *   * @param name The name of the column value to return.   * @return The value of the column as a BLOB.   * @exception SQLException If an error occurs.   */  public Blob getBlob(String colName) throws SQLException;  /**   * This method returns the specified column value as a CLOB.   *   * @param name The name of the column value to return.   * @return The value of the column as a CLOB.   * @exception SQLException If an error occurs.   */  public Clob getClob(String colName) throws SQLException;  /**   * This method returns the specified column value as an <code>Array</code>.   *   * @param name The name of the column value to return.   * @return The value of the column as an <code>Array</code>.   * @exception SQLException If an error occurs.   */  public Array getArray(String colName) throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Date</code>.  The specified <code>Calendar</code> is used   * to generate a value for the date if the database does not support   * timezones.   *   * @param index The index of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   * @return The value of the column as a <code>java.sql.Date</code>.   * @exception SQLException If an error occurs.   */  public Date getDate(int columnIndex, Calendar cal) throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Date</code>.  The specified <code>Calendar</code> is used   * to generate a value for the date if the database does not support   * timezones.   *   * @param name The name of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   * @return The value of the column as a <code>java.sql.Date</code>.   * @exception SQLException If an error occurs.   */  public Date getDate(String columnName, Calendar cal) throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Time</code>.  The specified <code>Calendar</code> is used   * to generate a value for the time if the database does not support   * timezones.   *   * @param index The index of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   * @return The value of the column as a <code>java.sql.Time</code>.   * @exception SQLException If an error occurs.   */  public Time getTime(int columnIndex, Calendar cal) throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Time</code>.  The specified <code>Calendar</code> is used   * to generate a value for the time if the database does not support   * timezones.   *   * @param name The name of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   * @return The value of the column as a <code>java.sql.Time</code>.   * @exception SQLException If an error occurs.   */  public Time getTime(String columnName, Calendar cal) throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Timestamp</code>.  The specified <code>Calendar</code> is used   * to generate a value for the timestamp if the database does not support   * timezones.   *   * @param index The index of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   * @return The value of the column as a <code>java.sql.Timestamp</code>.   * @exception SQLException If an error occurs.   */  public Timestamp getTimestamp(int columnIndex, Calendar cal)    throws SQLException;  /**   * This method returns the specified column value as a    * <code>java.sql.Timestamp</code>.  The specified <code>Calendar</code> is used   * to generate a value for the timestamp if the database does not support   * timezones.   *   * @param name The name of the column value to return.   * @param cal The <code>Calendar</code> to use for calculating timezones.   *   * @return The value of the column as a <code>java.sql.Timestamp</code>.   *   * @exception SQLException If an error occurs.   */  public Timestamp getTimestamp(String columnName, Calendar cal)    throws SQLException;  /**   * @since 1.4   */  public URL getURL(int columnIndex) throws SQLException;  /**   * @since 1.4   */  public URL getURL(String columnName) throws SQLException;  /**   * @since 1.4   */  public void updateRef(int columnIndex, Ref x) throws SQLException;  /**   * @since 1.4   */  public void updateRef(String columnName, Ref x) throws SQLException;  /**   * @since 1.4   */  public void updateBlob(int columnIndex, Blob x) throws SQLException;  /**   * @since 1.4   */  public void updateBlob(String columnName, Blob x) throws SQLException;  /**   * @since 1.4   */  public void updateClob(int columnIndex, Clob x) throws SQLException;  /**   * @since 1.4   */  public void updateClob(String columnName, Clob x) throws SQLException;  /**   * @since 1.4   */  public void updateArray(int columnIndex, Array x) throws SQLException;  /**   * @since 1.4   */  public void updateArray(String columnName, Array x) throws SQLException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -