Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdbc ::

interface XRowUpdate
Description
is used to update data which is collected in a row.
Developers Guide
Database - 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  columnIndex )
raises( 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  columnIndex,
[in] boolean  x )
raises( 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  columnIndex,
[in] byte  x )
raises( 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  columnIndex,
[in] short  x )
raises( 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  columnIndex,
[in] long  x )
raises( 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  columnIndex,
[in] hyper  x )
raises( 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  columnIndex,
[in] float  x )
raises( 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  columnIndex,
[in] double  x )
raises( 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  columnIndex,
[in] string  x )
raises( 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  columnIndex,
[in] sequence< byte >  x )
raises( 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  columnIndex,
[in] ::com::sun::star::util::Date  x )
raises( 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  columnIndex,
[in] ::com::sun::star::util::Time  x )
raises( 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  columnIndex,
[in] ::com::sun::star::util::DateTime  x )
raises( 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  columnIndex,
[in] ::com::sun::star::io::XInputStream  x,
[in] long  length )
raises( 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  columnIndex,
[in] ::com::sun::star::io::XInputStream  x,
[in] long  length )
raises( 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  columnIndex,
[in] any  x )
raises( 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  columnIndex,
[in] any  x,
[in] long  scale )
raises( 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.