📄 resultset.java
字号:
* JDBC 2.0 */ void updateCharacterStream(int columnIndex, java.io.Reader reader, int length) throws SQLException; /** * JDBC 2.0 */ void updateObject(int columnIndex, Object x, int scale) throws SQLException; /** * JDBC 2.0 */ void updateObject(int columnIndex, Object x) throws SQLException; /** * JDBC 2.0 */ void updateNull(String columnName) throws SQLException; /** * JDBC 2.0 */ void updateBoolean(String columnName, boolean x) throws SQLException; /** * JDBC 2.0 */ void updateByte(String columnName, byte x) throws SQLException; /** * JDBC 2.0 */ void updateShort(String columnName, short x) throws SQLException; /** * JDBC 2.0 */ void updateInt(String columnName, int x) throws SQLException; /** * JDBC 2.0 */ void updateLong(String columnName, long x) throws SQLException; /** * JDBC 2.0 */ void updateFloat(String columnName, float x) throws SQLException; /** * JDBC 2.0 */ void updateDouble(String columnName, double x) throws SQLException; /** * JDBC 2.0 */ void updateBigDecimal(String columnName, BigDecimal x) throws SQLException; /** * JDBC 2.0 */ void updateString(String columnName, String x) throws SQLException; /** * JDBC 2.0 */ void updateBytes(String columnName, byte x[]) throws SQLException; /** * JDBC 2.0 */ void updateDate(String columnName, java.sql.Date x) throws SQLException; /** * JDBC 2.0 */ void updateTime(String columnName, java.sql.Time x) throws SQLException; /** * JDBC 2.0 */ void updateTimestamp(String columnName, java.sql.Timestamp x) throws SQLException; /** * JDBC 2.0 */ void updateAsciiStream(String columnName, java.io.InputStream x, int length) throws SQLException; /** * JDBC 2.0 */ void updateBinaryStream(String columnName, java.io.InputStream x, int length) throws SQLException; /** * JDBC 2.0 */ void updateCharacterStream(String columnName, java.io.Reader reader, int length) throws SQLException; /** * JDBC 2.0 */ void updateObject(String columnName, Object x, int scale) throws SQLException; /** * JDBC 2.0 */ void updateObject(String columnName, Object x) throws SQLException; /** * JDBC 2.0 * * Insert the contents of the insert row into the result set and * the database. Must be on the insert row when this method is called. * * @exception SQLException if a database-access error occurs */ void insertRow() throws SQLException; /** * JDBC 2.0 * * Update the underlying database with the new contents of the * current row. Cannot be called when on the insert row. */ void updateRow() throws SQLException; /** * JDBC 2.0 * * Delete the current row from the result set and the underlying * database. Cannot be called when on the insert row. * * @exception SQLException if a database-access error occurs */ void deleteRow() throws SQLException; /** * JDBC 2.0 * * Refresh the value of the current row with the value in the database. * Cannot be called when on the insert row. * * @exception SQLException if a database-access error occurs */ void refreshRow() throws SQLException; /** * JDBC 2.0 * * Move to the insert row. The current row is remembered. * * Only the updateXXX() and insertRow() methods may be called * when the result set is in insert mode. * * @exception SQLException if a database-access error occurs */ void moveToInsertRow() throws SQLException; /** * JDBC 2.0 * * Move the cursor to the current row. Has no effect unless the * cursor is on the insert row. * * @exception SQLException if a database-access error occurs */ void moveToCurrentRow() throws SQLException; /** * JDBC 2.0 * * Return the Statement that produced the ResultSet. */ Statement getStatement() throws SQLException; /** * JDBC 2.0 * * Returns the value of column @i as a Java object. Use the * @map to determine the class from which to construct data of * SQL structured and distinct types. * * @param i the first column is 1, the second is 2, ... * @param map the mapping from SQL type names to Java classes * @return an object representing the SQL value */ Object getObject(int i, java.util.Map map) throws SQLException; /** * JDBC 2.0 * * Get a REF(<structured-type>) column. * * @param i the first column is 1, the second is 2, ... * @return an object representing data of an SQL REF type */ Ref getRef(int i) throws SQLException; /** * JDBC 2.0 * * Get a BLOB column. * * @param i the first column is 1, the second is 2, ... * @return an object representing a BLOB */ Blob getBlob(int i) throws SQLException; /** * JDBC 2.0 * * Get a CLOB column. * * @param i the first column is 1, the second is 2, ... * @return an object representing a CLOB */ Clob getClob(int i) throws SQLException; /** * JDBC 2.0 * * Get an array column. * * @param i the first column is 1, the second is 2, ... * @return an object representing an SQL array */ Array getArray(int i) throws SQLException; /** * JDBC 2.0 * * Returns the value of column @i as a Java object. Use the * @map to determine the class from which to construct data of * SQL structured and distinct types. * * @param colName the column name * @param map the mapping from SQL type names to Java classes * @return an object representing the SQL value */ Object getObject(String colName, java.util.Map map) throws SQLException; /** * JDBC 2.0 * * Get a REF(<structured-type>) column. * * @param colName the column name * @return an object representing data of an SQL REF type */ Ref getRef(String colName) throws SQLException; /** * JDBC 2.0 * * Get a BLOB column. * * @param colName the column name * @return an object representing a BLOB */ Blob getBlob(String colName) throws SQLException; /** * JDBC 2.0 * * Get a CLOB column. * * @param colName the column name * @return an object representing a CLOB */ Clob getClob(String colName) throws SQLException; /** * JDBC 2.0 * * Get an array column. * * @param colName the column name * @return an object representing an SQL array */ Array getArray(String colName) throws SQLException; /** * JDBC 2.0 * * Get the value of a column in the current row as a java.sql.Date object. * * @param columnIndex the first column is 1, the second is 2, ... * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Date getDate(int columnIndex, Calendar cal) throws SQLException; /** * Get the value of a column in the current row as a java.sql.Date object. * * @param columnName is the SQL name of the column * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Date getDate(String columnName, Calendar cal) throws SQLException; /** * Get the value of a column in the current row as a java.sql.Time object. * * @param columnIndex the first column is 1, the second is 2, ... * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Time getTime(int columnIndex, Calendar cal) throws SQLException; /** * Get the value of a column in the current row as a java.sql.Time object. * * @param columnName is the SQL name of the column * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Time getTime(String columnName, Calendar cal) throws SQLException; /** * Get the value of a column in the current row as a java.sql.Timestamp * object. * * @param columnIndex the first column is 1, the second is 2, ... * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Timestamp getTimestamp(int columnIndex, Calendar cal) throws SQLException; /** * Get the value of a column in the current row as a java.sql.Timestamp * object. * * @param columnName is the SQL name of the column * @return the column value; if the value is SQL NULL, the result is null * @exception SQLException if a database-access error occurs. */ java.sql.Timestamp getTimestamp(String columnName, Calendar cal) throws SQLException;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -