LibreOffice
LibreOffice 24.2 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 
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  published interface XRef;
27  published interface XArray;
28  published interface XBlob;
29  published interface XClob;
30  published interface XStruct;
31  published interface XSQLData;
32 
33 
62 {
63 
70  void writeString([in]string x) raises (SQLException);
71 
78  void writeBoolean([in]boolean x) raises (SQLException);
79 
86  void writeByte([in]byte x) raises (SQLException);
87 
94  void writeShort([in]short x) raises (SQLException);
95 
102  void writeInt([in]long x) raises (SQLException);
103 
110  void writeLong([in]hyper x) raises (SQLException);
111 
118  void writeFloat([in]float x) raises (SQLException);
119 
126  void writeDouble([in]double x) raises (SQLException);
127 
134  void writeBytes([in]sequence<byte> x) raises (SQLException);
135 
142  void writeDate([in]com::sun::star::util::Date x) raises (SQLException);
143 
150  void writeTime([in]com::sun::star::util::Time x) raises (SQLException);
151 
158  void writeTimestamp([in]com::sun::star::util::DateTime x)
159  raises (SQLException);
160 
168  void writeBinaryStream([in]com::sun::star::io::XInputStream x)
169  raises (SQLException);
170 
177  void writeCharacterStream([in]com::sun::star::io::XInputStream x)
178  raises (SQLException);
179 
212  void writeObject([in]XSQLData x) raises (SQLException);
213 
220  void writeRef([in]XRef x) raises (SQLException);
221 
228  void writeBlob([in]XBlob x) raises (SQLException);
229 
236  void writeClob([in]XClob x) raises (SQLException);
237 
244  void writeStruct([in]XStruct x) raises (SQLException);
245 
252  void writeArray([in]XArray x) raises (SQLException);
253 };
254 
255 
256 }; }; }; };
257 
258 /*===========================================================================
259 ===========================================================================*/
260 
261 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is used for the custom mapping of SQL user-defined types.
Definition: XSQLData.idl:37
represents a date value.
Definition: Date.idl:28
represents a combined date+time value.
Definition: DateTime.idl:26
Definition: Ambiguous.idl:20
represents a time value.
Definition: Time.idl:26
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition: XArray.idl:35
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:29
is used for the standard mapping for a SQL structured type.
Definition: XStruct.idl:41
is an exception that provides information on a database access error.
Definition: SQLException.idl:40
is the mapping for the SQL CLOB type.
Definition: XClob.idl:82
is the representation (mapping) of an SQL BLOB.
Definition: XBlob.idl:86
is used as an output stream for writing the attributes of a user-defined type back to the database...
Definition: XSQLOutput.idl:61
base interface of all UNO interfaces
Definition: XInterface.idl:45
is the reference to a SQL structured type value in the database.
Definition: XRef.idl:28