LibreOffice
LibreOffice 7.4 SDK API Reference
Loading...
Searching...
No Matches
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
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
43
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: */
is an exception that provides information on a database access error.
Definition SQLException.idl:45
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
represents an input stream that contains a stream of values representing an instance of a SQL structu...
Definition XSQLInput.idl:74
string readString()
reads the next attribute in the stream as string.
base interface of all UNO interfaces
Definition XInterface.idl:48
Definition Ambiguous.idl:22