Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: sdbc ::
interface XRowUpdate
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XRowUpdate
Description is used to update data which is collected in a row. Developers Guide 12.3.3 Database Access - Manipulating Data - Result Sets - Update

Methods' Summary
updateNull | gives a nullable column a null value.
updateBoolean | updates a column with a boolean value.
updateByte | updates a column with a byte value.
updateShort | updates a column with a short value.
updateInt | updates a column with an long value.
updateLong | updates a column with a hyper value.
updateFloat | updates a column with a float value.
updateDouble | updates a column with a double value.
updateString | updates a column with a string value.
updateBytes | updates a column with a byte array value.
updateDate | updates a column with a date value.
updateTime | updates a column with a time value.
updateTimestamp | updates a column with a timestamp value.
updateBinaryStream | updates a column with a stream value.
updateCharacterStream | updates a column with a stream value.
updateObject | updates a column with an object value.
updateNumericObject | updates a column with an object value.

Methods' Details
updateNull
void updateNull( | [in] long raises( | columnIndex ) SQLException );
Description gives a nullable column a null value. Parameter columnIndex the position of the column Throws SQLException if a database access error occurs.
updateBoolean
void updateBoolean( | [in] long [in] boolean raises( | columnIndex, x ) SQLException );
Description updates a column with a boolean value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateByte
void updateByte( | [in] long [in] byte raises( | columnIndex, x ) SQLException );
Description updates a column with a byte value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateShort
void updateShort( | [in] long [in] short raises( | columnIndex, x ) SQLException );
Description updates a column with a short value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateInt
void updateInt( | [in] long [in] long raises( | columnIndex, x ) SQLException );
Description updates a column with an long value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateLong
void updateLong( | [in] long [in] hyper raises( | columnIndex, x ) SQLException );
Description updates a column with a hyper value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateFloat
void updateFloat( | [in] long [in] float raises( | columnIndex, x ) SQLException );
Description updates a column with a float value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateDouble
void updateDouble( | [in] long [in] double raises( | columnIndex, x ) SQLException );
Description updates a column with a double value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateString
void updateString( | [in] long [in] string raises( | columnIndex, x ) SQLException );
Description updates a column with a string value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateBytes
void updateBytes( | [in] long [in] sequence< byte > raises( | columnIndex, x ) SQLException );
Description updates a column with a byte array value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateDate
void updateDate( | [in] long [in] ::com::sun::star::util::Date raises( | columnIndex, x ) SQLException );
Description updates a column with a date value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateTime
void updateTime( | [in] long [in] ::com::sun::star::util::Time raises( | columnIndex, x ) SQLException );
Description updates a column with a time value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateTimestamp
void updateTimestamp( | [in] long [in] ::com::sun::star::util::DateTime raises( | columnIndex, x ) SQLException );
Description updates a column with a timestamp value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateBinaryStream
void updateBinaryStream( | [in] long [in] ::com::sun::star::io::XInputStream [in] long raises( | columnIndex, x, length ) SQLException );
Description updates a column with a stream value. Parameter columnIndex the position of the column Parameter x the new column value Parameter length how much data should be read out of the stream Throws SQLException if a database access error occurs.
updateCharacterStream
void updateCharacterStream( | [in] long [in] ::com::sun::star::io::XInputStream [in] long raises( | columnIndex, x, length ) SQLException );
Description updates a column with a stream value. Parameter columnIndex the position of the column Parameter x the new column value Parameter length how much data should be read out of the stream Throws SQLException if a database access error occurs.
updateObject
void updateObject( | [in] long [in] any raises( | columnIndex, x ) SQLException );
Description updates a column with an object value. Parameter columnIndex the position of the column Parameter x the new column value Throws SQLException if a database access error occurs.
updateNumericObject
void updateNumericObject( | [in] long [in] any [in] long raises( | columnIndex, x, scale ) SQLException );
Description updates a column with an object value. Parameter columnIndex the position of the column Parameter x the new column value Parameter scale defines the scale which should be used to write the numeric value Throws SQLException if a database access error occurs.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.