LibreOffice
LibreOffice 6.2 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 
23 
25 
27 
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 
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 
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,
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: */
represents a date value.
Definition: Date.idl:30
represents a combined date+time value.
Definition: DateTime.idl:28
Definition: Ambiguous.idl:22
is used to access data which is collected in a row.
Definition: XRow.idl:53
represents a time value.
Definition: Time.idl:28
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition: XArray.idl:41
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:37
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
is the mapping for the SQL CLOB type.
Definition: XClob.idl:88
is used to access named objects within a container.
Definition: XNameAccess.idl:39
is the representation (mapping) of an SQL BLOB.
Definition: XBlob.idl:92
base interface of all UNO interfaces
Definition: XInterface.idl:47
is the reference to a SQL structured type value in the database.
Definition: XRef.idl:34