LibreOffice
LibreOffice 7.4 SDK API Reference
XSQLOutput.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 #ifndef __com_sun_star_sdbc_XSQLOutput_idl__
20 #define __com_sun_star_sdbc_XSQLOutput_idl__
21 
23 
25 
27 
29 
30  module com { module sun { module star { module io {
31  published interface XInputStream;
32 };};};};
33 
35 
36  module com { module sun { module star { module sdbc {
37 
38  published interface XRef;
39  published interface XArray;
40  published interface XBlob;
41  published interface XClob;
42  published interface XStruct;
43  published interface XSQLData;
44 
45 
74 {
75 
82  void writeString([in]string x) raises (SQLException);
83 
90  void writeBoolean([in]boolean x) raises (SQLException);
91 
98  void writeByte([in]byte x) raises (SQLException);
99 
106  void writeShort([in]short x) raises (SQLException);
107 
114  void writeInt([in]long x) raises (SQLException);
115 
122  void writeLong([in]hyper x) raises (SQLException);
123 
130  void writeFloat([in]float x) raises (SQLException);
131 
138  void writeDouble([in]double x) raises (SQLException);
139 
146  void writeBytes([in]sequence<byte> x) raises (SQLException);
147 
155 
163 
171  raises (SQLException);
172 
181  raises (SQLException);
182 
190  raises (SQLException);
191 
224  void writeObject([in]XSQLData x) raises (SQLException);
225 
232  void writeRef([in]XRef x) raises (SQLException);
233 
240  void writeBlob([in]XBlob x) raises (SQLException);
241 
248  void writeClob([in]XClob x) raises (SQLException);
249 
256  void writeStruct([in]XStruct x) raises (SQLException);
257 
264  void writeArray([in]XArray x) raises (SQLException);
265 };
266 
267 
268 }; }; }; };
269 
270 /*===========================================================================
271 ===========================================================================*/
272 #endif
273 
274 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition: XArray.idl:42
is the representation (mapping) of an SQL BLOB.
Definition: XBlob.idl:93
is the mapping for the SQL CLOB type.
Definition: XClob.idl:89
is the reference to a SQL structured type value in the database.
Definition: XRef.idl:35
is used for the custom mapping of SQL user-defined types.
Definition: XSQLData.idl:44
is used as an output stream for writing the attributes of a user-defined type back to the database.
Definition: XSQLOutput.idl:74
void writeDouble([in]double x)
writes the next attribute to the stream as double.
void writeBlob([in]XBlob x)
writes a BLOB to the stream.
void writeObject([in]XSQLData x)
writes to the stream the data contained in the given XSQLData object.
void writeTimestamp([in]com::sun::star::util::DateTime x)
writes the next attribute to the stream as a datetime.
void writeBytes([in]sequence< byte > x)
writes the next attribute to the stream as byte sequence.
void writeClob([in]XClob x)
writes a CLOB to the stream.
void writeBoolean([in]boolean x)
writes the next attribute to the stream as boolean.
void writeRef([in]XRef x)
writes a REF(&lt;structured-type&gt;) to the stream.
void writeStruct([in]XStruct x)
writes a structured-type to the stream.
void writeLong([in]hyper x)
writes the next attribute to the stream as hyper.
void writeTime([in]com::sun::star::util::Time x)
writes the next attribute to the stream as a time.
void writeInt([in]long x)
writes the next attribute to the stream as long.
void writeString([in]string x)
writes the next attribute to the stream as a string.
void writeFloat([in]float x)
writes the next attribute to the stream as float.
void writeCharacterStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of Unicode string.
void writeShort([in]short x)
writes the next attribute to the stream as short.
void writeBinaryStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of uninterpreted bytes.
void writeArray([in]XArray x)
writes an array to the stream.
void writeByte([in]byte x)
writes the next attribute to the stream as byte.
void writeDate([in]com::sun::star::util::Date x)
writes the next attribute to the stream as a date.
is used for the standard mapping for a SQL structured type.
Definition: XStruct.idl:48
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22
represents a combined date+time value.
Definition: DateTime.idl:29
represents a date value.
Definition: Date.idl:31
represents a time value.
Definition: Time.idl:29