interface XColumnUpdate in module com::sun::star::sdb::

(Global Index)

Syntax

interface XColumnUpdate : com::sun::star::uno::XInterface ;

Description

is used to update data which is collected in a row.

Method 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.

Known Services Which Export this Interface

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

Method Details



updateNull

Syntax

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

Syntax

void updateBoolean (
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

Syntax

void updateByte (
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

Syntax

void updateShort (
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

Syntax

void updateInt (
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

Syntax

void updateLong (
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

Syntax

void updateFloat (
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

Syntax

void updateDouble (
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

Syntax

void updateString (
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

Syntax

void updateBytes (
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

Syntax

void updateDate (
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

Syntax

void updateTime (
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

Syntax

void updateTimestamp (
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

Syntax

void updateBinaryStream (
com::sun::star::io::XInputStream x,
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

Syntax

void updateCharacterStream (
com::sun::star::io::XInputStream x,
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

Syntax

void updateObject (
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

Syntax

void updateNumericObject (
any x,
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