Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sdb ::

interface XColumnUpdate
Description
is used to update data which is collected in a row.

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 a 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()
raises( ::com::sun::star::sdbc::SQLException );

Description
gives a nullable column a null value.
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateBoolean
void
updateBoolean( [in] boolean  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a boolean value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateByte
void
updateByte( [in] byte  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a byte value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateShort
void
updateShort( [in] short  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a short value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateInt
void
updateInt( [in] long  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a long value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateLong
void
updateLong( [in] hyper  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a hyper value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateFloat
void
updateFloat( [in] float  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a float value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateDouble
void
updateDouble( [in] double  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a double value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateString
void
updateString( [in] string  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a string value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateBytes
void
updateBytes( [in] sequence< byte >  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a byte array value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateDate
void
updateDate( [in] ::com::sun::star::util::Date  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a Date value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateTime
void
updateTime( [in] ::com::sun::star::util::Time  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a Time value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateTimestamp
void
updateTimestamp( [in] ::com::sun::star::util::DateTime  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a Timestamp value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateBinaryStream
void
updateBinaryStream( [in] ::com::sun::star::io::XInputStream  x,
[in] long  length )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a stream value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateCharacterStream
void
updateCharacterStream( [in] ::com::sun::star::io::XInputStream  x,
[in] long  length )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with a stream value.
Parameter x
the new column value
Parameter length
the length of the stream
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateObject
void
updateObject( [in] any  x )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with an Object value.
Parameter x
the new column value
Throws
com::sun::star::sdbc::SQLException if a database access error occurs.
updateNumericObject
void
updateNumericObject( [in] any  x,
[in] long  scale )
raises( ::com::sun::star::sdbc::SQLException );

Description
updates a column with an Object value.
Parameter x
the new column value
Parameter scale
the scale
Throws
com::sun::star::sdbc::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.