LibreOffice LibreOffice 5.3 SDK API Reference

XRow.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_XRow_idl__
20 #define __com_sun_star_sdbc_XRow_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 module com { module sun { module star { module container {
35 published interface XNameAccess;
36 };};};};
37
38 #include <com/sun/star/sdbc/SQLException.idl>
39
40 module com { module sun { module star { module sdbc {
41
42 published interface XRef;
43 published interface XArray;
44 published interface XBlob;
45 published interface XClob;
46
47
53 published interface XRow: com::sun::star::uno::XInterface
54 {
55
66 boolean wasNull() raises (SQLException);
67
76 string getString([in]long columnIndex) raises (SQLException);
77
86 boolean getBoolean([in]long columnIndex) raises (SQLException);
87
96 byte getByte([in]long columnIndex) raises (SQLException);
97
106 short getShort([in]long columnIndex) raises (SQLException);
107
116 long getInt([in]long columnIndex) raises (SQLException);
117
126 hyper getLong([in]long columnIndex) raises (SQLException);
127
136 float getFloat([in]long columnIndex) raises (SQLException);
137
146 double getDouble([in]long columnIndex) raises (SQLException);
147
157 sequence<byte> getBytes([in]long columnIndex) raises (SQLException);
158
167 com::sun::star::util::Date getDate([in]long columnIndex)
168 raises (SQLException);
169
178 com::sun::star::util::Time getTime([in]long columnIndex)
179 raises (SQLException);
180
189 com::sun::star::util::DateTime getTimestamp([in]long columnIndex)
190 raises (SQLException);
191
214 com::sun::star::io::XInputStream getBinaryStream([in]long columnIndex)
215 raises (SQLException);
216
239 com::sun::star::io::XInputStream getCharacterStream([in]long columnIndex)
240 raises (SQLException);
241
256 any getObject([in]long columnIndex,
257 [in]com::sun::star::container::XNameAccess typeMap)
258 raises (SQLException);
259
268 XRef getRef([in]long columnIndex) raises (SQLException);
269
278 XBlob getBlob([in]long columnIndex) raises (SQLException);
279
290 XClob getClob([in]long columnIndex) raises (SQLException);
291
302 XArray getArray([in]long columnIndex) raises (SQLException);
303 };
304
305
306 }; }; }; };
307
308 /*===========================================================================
309 ===========================================================================*/
310 #endif
311
312 /* 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
com::sun::star::sdbc::XRow
is used to access data which is collected in a row.
Definition: XRow.idl:53
XInterface.idl
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::container::XNameAccess
is used to access named objects within a container.
Definition: XNameAccess.idl:39
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