LibreOffice
LibreOffice 24.8 SDK API Reference
Loading...
Searching...
No Matches
XRowUpdate.idl
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 *
9 * This file incorporates work covered by the following license notice:
10 *
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 */
19
20 module com { module sun { module star { module io {
21 published interface XInputStream;
22};};};};
23
24 module com { module sun { module star { module sdbc {
25
26
29published interface XRowUpdate: com::sun::star::uno::XInterface
30{
31
38 void updateNull([in]long columnIndex) raises (SQLException);
39
48 void updateBoolean([in]long columnIndex, [in]boolean x) raises (SQLException);
49
58 void updateByte([in]long columnIndex, [in]byte x) raises (SQLException);
59
68 void updateShort([in]long columnIndex, [in]short x) raises (SQLException);
69
78 void updateInt([in]long columnIndex, [in]long x) raises (SQLException);
79
88 void updateLong([in]long columnIndex, [in]hyper x) raises (SQLException);
89
98 void updateFloat([in]long columnIndex, [in]float x) raises (SQLException);
99
108 void updateDouble([in]long columnIndex, [in]double x) raises (SQLException);
109
118 void updateString([in]long columnIndex, [in]string x) raises (SQLException);
119
128 void updateBytes([in]long columnIndex, [in]sequence<byte> x) raises (SQLException);
129
138 void updateDate([in]long columnIndex, [in]com::sun::star::util::Date x)
139 raises (SQLException);
140
149 void updateTime([in]long columnIndex, [in]com::sun::star::util::Time x)
150 raises (SQLException);
151
160 void updateTimestamp([in]long columnIndex,
162 raises (SQLException);
163
174 void updateBinaryStream([in]long columnIndex,
176 [in]long length) raises (SQLException);
177
188 void updateCharacterStream([in]long columnIndex,
190 [in]long length) raises (SQLException);
191
200 void updateObject([in]long columnIndex, [in]any x)
201 raises (SQLException);
202
213 void updateNumericObject([in]long columnIndex, [in]any x, [in]long scale)
214 raises (SQLException);
215};
216
217
218}; }; }; };
219
220/*===========================================================================
221===========================================================================*/
222
223/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition SQLException.idl:41
This is the basic interface to read data from a stream.
Definition XInputStream.idl:30
void updateLong([in]long columnIndex, [in]hyper x)
updates a column with a hyper value.
void updateTime([in]long columnIndex, [in]com::sun::star::util::Time x)
updates a column with a time value.
void updateByte([in]long columnIndex, [in]byte x)
updates a column with a byte value.
void updateBoolean([in]long columnIndex, [in]boolean x)
updates a column with a boolean value.
void updateInt([in]long columnIndex, [in]long x)
updates a column with an long value.
void updateDouble([in]long columnIndex, [in]double x)
updates a column with a double value.
void updateDate([in]long columnIndex, [in]com::sun::star::util::Date x)
updates a column with a date value.
void updateNumericObject([in]long columnIndex, [in]any x, [in]long scale)
updates a column with an object value.
void updateString([in]long columnIndex, [in]string x)
updates a column with a string value.
void updateBinaryStream([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length)
updates a column with a stream value.
void updateShort([in]long columnIndex, [in]short x)
updates a column with a short value.
void updateBytes([in]long columnIndex, [in]sequence< byte > x)
updates a column with a byte array value.
void updateFloat([in]long columnIndex, [in]float x)
updates a column with a float value.
void updateNull([in]long columnIndex)
gives a nullable column a null value.
void updateObject([in]long columnIndex, [in]any x)
updates a column with an object value.
void updateCharacterStream([in]long columnIndex, [in]com::sun::star::io::XInputStream x, [in]long length)
updates a column with a stream value.
void updateTimestamp([in]long columnIndex, [in]com::sun::star::util::DateTime x)
updates a column with a timestamp value.
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
Definition Ambiguous.idl:20
represents a combined date+time value.
Definition DateTime.idl:27
represents a date value.
Definition Date.idl:29
represents a time value.
Definition Time.idl:27