📄 resultset.java
字号:
* has been updated. Updates must be visible in order of this method to * detect the update. * * @return <code>true</code> if the row has been updated, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ public boolean rowUpdated() throws SQLException; /** * This method tests whether or not the current row in the result set * has been inserted. Inserts must be visible in order of this method to * detect the insert. * * @return <code>true</code> if the row has been inserted, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ public boolean rowInserted() throws SQLException; /** * This method tests whether or not the current row in the result set * has been deleted. Deletes must be visible in order of this method to * detect the deletion. * * @return <code>true</code> if the row has been deleted, <code>false</code> * otherwise. * @exception SQLException If an error occurs. */ public boolean rowDeleted() throws SQLException; /** * This method updates the specified column to have a NULL value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @return index The index of the column to update. * @exception SQLException If an error occurs. */ public void updateNull(int columnIndex) throws SQLException; /** * This method updates the specified column to have a boolean value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateBoolean(int columnIndex, boolean x) throws SQLException; /** * This method updates the specified column to have a byte value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateByte(int columnIndex, byte x) throws SQLException; /** * This method updates the specified column to have a short value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateShort(int columnIndex, short x) throws SQLException; /** * This method updates the specified column to have an int value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateInt(int columnIndex, int x) throws SQLException; /** * This method updates the specified column to have a long value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateLong(int columnIndex, long x) throws SQLException; /** * This method updates the specified column to have a float value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateFloat(int columnIndex, float x) throws SQLException; /** * This method updates the specified column to have a double value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateDouble(int columnIndex, double x) throws SQLException; /** * This method updates the specified column to have a BigDecimal value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateBigDecimal(int columnIndex, BigDecimal x) throws SQLException; /** * This method updates the specified column to have a String value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateString(int columnIndex, String x) throws SQLException; /** * This method updates the specified column to have a byte array value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateBytes(int columnIndex, byte[] x) throws SQLException; /** * This method updates the specified column to have a java.sql.Date value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @param index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateDate(int columnIndex, Date x) throws SQLException; /** * 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 index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateTime(int columnIndex, 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 index The index of the column to update. * @param value The new value of the column. * @exception SQLException If an error occurs. */ public void updateTimestamp(int columnIndex, 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 index The index 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(int columnIndex, 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 index The index 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(int columnIndex, 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 index The index 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(int columnIndex, Reader x, 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 index The index of the column to update. * @param value The new value of the column. * * @exception SQLException If an error occurs. */ public void updateObject(int columnIndex, 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 index The index 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(int columnIndex, Object x) throws SQLException; /** * This method updates the specified column to have a NULL value. This * does not update the actual database. <code>updateRow</code> must be * called in order to do that. * * @return name The name of the column to update. * @exception SQLException If an error occurs. */ public void updateNull(String columnName) throws SQLException; /** * This method updates the specified column to have a boolean 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 updateBoolean(String columnName, boolean x) throws SQLException; /** * This method updates the specified column to have a byte 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 updateByte(String columnName, byte x) throws SQLException; /** * This method updates the specified column to have a short 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 updateShort(String columnName, short x) throws SQLException; /** * This method updates the specified column to have an int 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 updateInt(String columnName, int x) throws SQLException; /** * This method updates the specified column to have a long 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 updateLong(String columnName, long x) throws SQLException; /** * This method updates the specified column to have a float 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 updateFloat(String columnName, float x) throws SQLException; /** * This method updates the specified column to have a double 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 updateDouble(String columnName, double x) throws SQLException; /** * This method updates the specified column to have a BigDecimal 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 updateBigDecimal(String columnName, BigDecimal x) throws SQLException; /** * This method updates the specified column to have a String 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 updateString(String columnName, String x) throws SQLException; /** * This method updates the specified column to have a byte array 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 updateBytes(String columnName, byte[] x) throws SQLException; /** * This method updates the specified column to have a java.sql.Date 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 updateDate(String columnName, Date x) throws SQLException;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -