LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XRowUpdate Interface Referencepublished

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

import"XRowUpdate.idl";

Inheritance diagram for XRowUpdate:
XInterface ResultSet RowSet ResultSet ContentResultSet RowSet ResultSet CachedContentResultSet CachedContentResultSetStub DataForm RowSet DataForm

Public Member Functions

void updateNull ([in]long columnIndex) raises (SQLException)
 gives a nullable column a null value. More...
 
void updateBoolean ([in]long columnIndex, [in]boolean x) raises (SQLException)
 updates a column with a boolean value. More...
 
void updateByte ([in]long columnIndex, [in]byte x) raises (SQLException)
 updates a column with a byte value. More...
 
void updateShort ([in]long columnIndex, [in]short x) raises (SQLException)
 updates a column with a short value. More...
 
void updateInt ([in]long columnIndex, [in]long x) raises (SQLException)
 updates a column with an long value. More...
 
void updateLong ([in]long columnIndex, [in]hyper x) raises (SQLException)
 updates a column with a hyper value. More...
 
void updateFloat ([in]long columnIndex, [in]float x) raises (SQLException)
 updates a column with a float value. More...
 
void updateDouble ([in]long columnIndex, [in]double x) raises (SQLException)
 updates a column with a double value. More...
 
void updateString ([in]long columnIndex, [in]string x) raises (SQLException)
 updates a column with a string value. More...
 
void updateBytes ([in]long columnIndex, [in]sequence< byte > x) raises (SQLException)
 updates a column with a byte array value. More...
 
void updateDate ([in]long columnIndex, [in]com::sun::star::util::Date x) raises (SQLException)
 updates a column with a date value. More...
 
void updateTime ([in]long columnIndex, [in]com::sun::star::util::Time x) raises (SQLException)
 updates a column with a time value. More...
 
void updateTimestamp ([in]long columnIndex, [in]com::sun::star::util::DateTime x) raises (SQLException)
 updates a column with a timestamp value. More...
 
void updateBinaryStream ([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length) raises (SQLException)
 updates a column with a stream value. More...
 
void updateCharacterStream ([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length) raises (SQLException)
 updates a column with a stream value. More...
 
void updateObject ([in]long columnIndex, [in]any x) raises (SQLException)
 updates a column with an object value. More...
 
void updateNumericObject ([in]long columnIndex, [in]any x, [in]long scale) raises (SQLException)
 updates a column with an object value. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

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

Developers Guide
Database Access - Update

Member Function Documentation

◆ updateBinaryStream()

void updateBinaryStream ( [in] long  columnIndex,
[in] com::sun::star::io::XInputStream  x,
[in] long  length 
)
raises (SQLException
)

updates a column with a stream value.

Parameters
columnIndexthe position of the column
xthe new column value
lengthhow much data should be read out of the stream
Exceptions
SQLExceptionif a database access error occurs.

◆ updateBoolean()

void updateBoolean ( [in] long  columnIndex,
[in] boolean  x 
)
raises (SQLException
)

updates a column with a boolean value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateByte()

void updateByte ( [in] long  columnIndex,
[in] byte  x 
)
raises (SQLException
)

updates a column with a byte value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateBytes()

void updateBytes ( [in] long  columnIndex,
[in] sequence< byte >  x 
)
raises (SQLException
)

updates a column with a byte array value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateCharacterStream()

void updateCharacterStream ( [in] long  columnIndex,
[in] com::sun::star::io::XInputStream  x,
[in] long  length 
)
raises (SQLException
)

updates a column with a stream value.

Parameters
columnIndexthe position of the column
xthe new column value
lengthhow much data should be read out of the stream
Exceptions
SQLExceptionif a database access error occurs.

◆ updateDate()

void updateDate ( [in] long  columnIndex,
[in] com::sun::star::util::Date  x 
)
raises (SQLException
)

updates a column with a date value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateDouble()

void updateDouble ( [in] long  columnIndex,
[in] double  x 
)
raises (SQLException
)

updates a column with a double value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateFloat()

void updateFloat ( [in] long  columnIndex,
[in] float  x 
)
raises (SQLException
)

updates a column with a float value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateInt()

void updateInt ( [in] long  columnIndex,
[in] long  x 
)
raises (SQLException
)

updates a column with an long value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateLong()

void updateLong ( [in] long  columnIndex,
[in] hyper  x 
)
raises (SQLException
)

updates a column with a hyper value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateNull()

void updateNull ( [in] long  columnIndex)
raises (SQLException
)

gives a nullable column a null value.

Parameters
columnIndexthe position of the column
Exceptions
SQLExceptionif a database access error occurs.

◆ updateNumericObject()

void updateNumericObject ( [in] long  columnIndex,
[in] any  x,
[in] long  scale 
)
raises (SQLException
)

updates a column with an object value.

Parameters
columnIndexthe position of the column
xthe new column value
scaledefines the scale which should be used to write the numeric value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateObject()

void updateObject ( [in] long  columnIndex,
[in] any  x 
)
raises (SQLException
)

updates a column with an object value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateShort()

void updateShort ( [in] long  columnIndex,
[in] short  x 
)
raises (SQLException
)

updates a column with a short value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateString()

void updateString ( [in] long  columnIndex,
[in] string  x 
)
raises (SQLException
)

updates a column with a string value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateTime()

void updateTime ( [in] long  columnIndex,
[in] com::sun::star::util::Time  x 
)
raises (SQLException
)

updates a column with a time value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

◆ updateTimestamp()

void updateTimestamp ( [in] long  columnIndex,
[in] com::sun::star::util::DateTime  x 
)
raises (SQLException
)

updates a column with a timestamp value.

Parameters
columnIndexthe position of the column
xthe new column value
Exceptions
SQLExceptionif a database access error occurs.

The documentation for this interface was generated from the following file: