LibreOffice: com/sun/star/sdbc/XSQLInput.idl Source File

LibreOffice LibreOffice 6.4 SDK API Reference

XSQLInput.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_XSQLInput_idl__
20 #define __com_sun_star_sdbc_XSQLInput_idl__
21
22 #include <com/sun/star/uno/XInterface.idl>
23
24 #include <com/sun/star/util/Date.idl>
25
26 #include <com/sun/star/util/DateTime.idl>
27
28 #include <com/sun/star/util/Time.idl>
29
30 module com { module sun { module star { module io {
31 published interface XInputStream;
32 };};};};
33
34 #include <com/sun/star/sdbc/SQLException.idl>
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
43
73 published interface XSQLInput: com::sun::star::uno::XInterface
74 {
75
82 string readString() raises (SQLException);
83
90 boolean readBoolean() raises (SQLException);
91
98 byte readByte() raises (SQLException);
99
106 short readShort() raises (SQLException);
107
114 long readInt() raises (SQLException);
115
122 hyper readLong() raises (SQLException);
123
130 float readFloat() raises (SQLException);
131
138 double readDouble() raises (SQLException);
139
146 sequence<byte> readBytes() raises (SQLException);
147
154 com::sun::star::util::Date readDate() raises (SQLException);
155
162 com::sun::star::util::Time readTime() raises (SQLException);
163
170 com::sun::star::util::DateTime readTimestamp() raises (SQLException);
171
178 com::sun::star::io::XInputStream readBinaryStream() raises (SQLException);
179
186 com::sun::star::io::XInputStream readCharacterStream() raises (SQLException);
187
214 any readObject() raises (SQLException);
215
222 XRef readRef() raises (SQLException);
223
230 XBlob readBlob() raises (SQLException);
231
238 XClob readClob() raises (SQLException);
239
246 XArray readArray() raises (SQLException);
247
254 boolean wasNull() raises (SQLException);
255 };
256
257
258 }; }; }; };
259
260 /*===========================================================================
261 ===========================================================================*/
262 #endif
263
264 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
com::sun::star::util::Date
represents a date value.
Definition: Date.idl:30
Date.idl
Time.idl
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:28
com
Definition: Ambiguous.idl:22
XInterface.idl
com::sun::star::sdbc::XSQLInput
represents an input stream that contains a stream of values representing an instance of a SQL structu...
Definition: XSQLInput.idl:73
DateTime.idl
com::sun::star::util::Time
represents a time value.
Definition: Time.idl:28
com::sun::star::sdbc::XArray
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition: XArray.idl:41
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
com::sun::star::sdbc::XClob
is the mapping for the SQL CLOB type.
Definition: XClob.idl:88
com::sun::star::sdbc::XBlob
is the representation (mapping) of an SQL BLOB.
Definition: XBlob.idl:92
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:47
com::sun::star::sdbc::XRef
is the reference to a SQL structured type value in the database.
Definition: XRef.idl:34