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

LibreOffice LibreOffice 26.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: */
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition SQLException.idl:41
com::sun::star::sdbc::XArray
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition XArray.idl:36
com::sun::star::sdbc::XBlob
is the representation (mapping) of an SQL BLOB.
Definition XBlob.idl:87
com::sun::star::sdbc::XClob
is the mapping for the SQL CLOB type.
Definition XClob.idl:83
com::sun::star::sdbc::XRef
is the reference to a SQL structured type value in the database.
Definition XRef.idl:29
com::sun::star::sdbc::XRow
is used to access data which is collected in a row.
Definition XRow.idl:42
com::sun::star::sdbc::XRow::getArray
XArray getArray([in]long columnIndex)
gets a SQL ARRAY value from the current row of this ResultSet object.
com::sun::star::sdbc::XRow::getInt
long getInt([in]long columnIndex)
get the value of a column in the current row as an integer.
com::sun::star::sdbc::XRow::wasNull
boolean wasNull()
reports whether the last column read had a value of SQL NULL.
com::sun::star::sdbc::XRow::getDouble
double getDouble([in]long columnIndex)
gets the value of a column in the current row as a double.
com::sun::star::sdbc::XRow::getLong
hyper getLong([in]long columnIndex)
get the value of a column in the current row as a long.
com::sun::star::sdbc::XRow::getDate
com::sun::star::util::Date getDate([in]long columnIndex)
gets the value of a column in the current row as a date object.
com::sun::star::sdbc::XRow::getBytes
sequence< byte > getBytes([in]long columnIndex)
gets the value of a column in the current row as a byte array.
com::sun::star::sdbc::XRow::getTimestamp
com::sun::star::util::DateTime getTimestamp([in]long columnIndex)
gets the value of a column in the current row as a datetime object.
com::sun::star::sdbc::XRow::getBoolean
boolean getBoolean([in]long columnIndex)
gets the value of a column in the current row as boolean.
com::sun::star::sdbc::XRow::getString
string getString([in]long columnIndex)
gets the value of a column in the current row as a string.
com::sun::star::sdbc::XRow::getObject
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::sdbc::XRow::getCharacterStream
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.
com::sun::star::sdbc::XRow::getShort
short getShort([in]long columnIndex)
gets the value of a column in the current row as a short.
com::sun::star::sdbc::XRow::getFloat
float getFloat([in]long columnIndex)
gets the value of a column in the current row as a float.
com::sun::star::sdbc::XRow::getByte
byte getByte([in]long columnIndex)
get the value of a column in the current row as a byte.
com::sun::star::sdbc::XRow::getRef
XRef getRef([in]long columnIndex)
gets a REF(&lt;structured-type&gt;) column value from the current row.
com::sun::star::sdbc::XRow::getTime
com::sun::star::util::Time getTime([in]long columnIndex)
gets the value of a column in the current row as a time object.
com::sun::star::sdbc::XRow::getBlob
XBlob getBlob([in]long columnIndex)
gets a BLOB value in the current row.
com::sun::star::sdbc::XRow::getClob
XClob getClob([in]long columnIndex)
gets a CLOB value in the current row of this ResultSet object.
com::sun::star::sdbc::XRow::getBinaryStream
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.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com::sun::star::container
Interfaces for collections and containers.
Definition ContainerEvent.idl:22
com::sun::star::io
General input/output interfaces.
Definition AlreadyConnectedException.idl:22
com::sun::star::util
Miscellaneous interfaces for sorting, connecting objects etc.
Definition XVndSunStarExpandUrl.idl:20
com::sun::star
the module com::sun::star is the root module of the UNO API.
Definition Ambiguous.idl:20
com::sun
Definition Ambiguous.idl:20
com
Definition Ambiguous.idl:20