LibreOffice
LibreOffice 24.8 SDK API Reference
 
Loading...
Searching...
No Matches
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
20 module com { module sun { module star { module io {
21 published interface XInputStream;
22};};};};
23
24 module com { module sun { module star { module container {
25 published interface XNameAccess;
26};};};};
27
28 module com { module sun { module star { module sdbc {
29
30 published interface XRef;
31 published interface XArray;
32 published interface XBlob;
33 published interface XClob;
34
35
41published interface XRow: com::sun::star::uno::XInterface
42{
43
54 boolean wasNull() raises (SQLException);
55
64 string getString([in]long columnIndex) raises (SQLException);
65
74 boolean getBoolean([in]long columnIndex) raises (SQLException);
75
84 byte getByte([in]long columnIndex) raises (SQLException);
85
94 short getShort([in]long columnIndex) raises (SQLException);
95
104 long getInt([in]long columnIndex) raises (SQLException);
105
114 hyper getLong([in]long columnIndex) raises (SQLException);
115
124 float getFloat([in]long columnIndex) raises (SQLException);
125
134 double getDouble([in]long columnIndex) raises (SQLException);
135
145 sequence<byte> getBytes([in]long columnIndex) raises (SQLException);
146
155 com::sun::star::util::Date getDate([in]long columnIndex)
156 raises (SQLException);
157
166 com::sun::star::util::Time getTime([in]long columnIndex)
167 raises (SQLException);
168
177 com::sun::star::util::DateTime getTimestamp([in]long columnIndex)
178 raises (SQLException);
179
202 com::sun::star::io::XInputStream getBinaryStream([in]long columnIndex)
203 raises (SQLException);
204
227 com::sun::star::io::XInputStream getCharacterStream([in]long columnIndex)
228 raises (SQLException);
229
244 any getObject([in]long columnIndex,
245 [in]com::sun::star::container::XNameAccess typeMap)
246 raises (SQLException);
247
256 XRef getRef([in]long columnIndex) raises (SQLException);
257
266 XBlob getBlob([in]long columnIndex) raises (SQLException);
267
278 XClob getClob([in]long columnIndex) raises (SQLException);
279
290 XArray getArray([in]long columnIndex) raises (SQLException);
291};
292
293
294}; }; }; };
295
296/*===========================================================================
297===========================================================================*/
298
299/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition SQLException.idl:41
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition XArray.idl:36
is the representation (mapping) of an SQL BLOB.
Definition XBlob.idl:87
is the mapping for the SQL CLOB type.
Definition XClob.idl:83
is the reference to a SQL structured type value in the database.
Definition XRef.idl:29
XArray getArray([in]long columnIndex)
gets a SQL ARRAY value from the current row of this ResultSet object.
long getInt([in]long columnIndex)
get the value of a column in the current row as an integer.
boolean wasNull()
reports whether the last column read had a value of SQL NULL.
double getDouble([in]long columnIndex)
gets the value of a column in the current row as a double.
hyper getLong([in]long columnIndex)
get the value of a column in the current row as a long.
com::sun::star::util::Date getDate([in]long columnIndex)
gets the value of a column in the current row as a date object.
sequence< byte > getBytes([in]long columnIndex)
gets the value of a column in the current row as a byte array.
com::sun::star::util::DateTime getTimestamp([in]long columnIndex)
gets the value of a column in the current row as a datetime object.
boolean getBoolean([in]long columnIndex)
gets the value of a column in the current row as boolean.
string getString([in]long columnIndex)
gets the value of a column in the current row as a string.
any getObject([in]long columnIndex, [in]com::sun::star::container::XNameAccess typeMap)
returns the value of a column in the current row as an object.
com::sun::star::io::XInputStream getCharacterStream([in]long columnIndex)
gets the value of a column in the current row as a stream of uninterpreted bytes.
short getShort([in]long columnIndex)
gets the value of a column in the current row as a short.
float getFloat([in]long columnIndex)
gets the value of a column in the current row as a float.
byte getByte([in]long columnIndex)
get the value of a column in the current row as a byte.
XRef getRef([in]long columnIndex)
gets a REF(&lt;structured-type&gt;) column value from the current row.
com::sun::star::util::Time getTime([in]long columnIndex)
gets the value of a column in the current row as a time object.
XBlob getBlob([in]long columnIndex)
gets a BLOB value in the current row.
XClob getClob([in]long columnIndex)
gets a CLOB value in the current row of this ResultSet object.
com::sun::star::io::XInputStream getBinaryStream([in]long columnIndex)
gets the value of a column in the current row as a stream of uninterpreted bytes.
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
Interfaces for collections and containers.
Definition ContainerEvent.idl:22
General input/output interfaces.
Definition AlreadyConnectedException.idl:22
Miscellaneous interfaces for sorting, connecting objects etc.
Definition XVndSunStarExpandUrl.idl:20
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20
Definition Ambiguous.idl:20