LibreOffice
LibreOffice 25.2 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
20 module com { module sun { module star { module io {
21 published interface XInputStream;
22};};};};
23
24 module com { module sun { module star { module sdbc {
25
26 published interface XRef;
27 published interface XArray;
28 published interface XBlob;
29 published interface XClob;
30
31
62{
63
70 string readString() raises (SQLException);
71
78 boolean readBoolean() raises (SQLException);
79
86 byte readByte() raises (SQLException);
87
94 short readShort() raises (SQLException);
95
102 long readInt() raises (SQLException);
103
110 hyper readLong() raises (SQLException);
111
118 float readFloat() raises (SQLException);
119
126 double readDouble() raises (SQLException);
127
134 sequence<byte> readBytes() raises (SQLException);
135
142 com::sun::star::util::Date readDate() raises (SQLException);
143
150 com::sun::star::util::Time readTime() raises (SQLException);
151
158 com::sun::star::util::DateTime readTimestamp() raises (SQLException);
159
166 com::sun::star::io::XInputStream readBinaryStream() raises (SQLException);
167
174 com::sun::star::io::XInputStream readCharacterStream() raises (SQLException);
175
202 any readObject() raises (SQLException);
203
211
219
227
235
242 boolean wasNull() raises (SQLException);
243};
244
245
246}; }; }; };
247
248/*===========================================================================
249===========================================================================*/
250
251/* 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
represents an input stream that contains a stream of values representing an instance of a SQL structu...
Definition XSQLInput.idl:62
string readString()
reads the next attribute in the stream as string.
boolean wasNull()
determines whether the last value read was null.
com::sun::star::io::XInputStream readBinaryStream()
reads the next attribute in the stream as sequence of bytes.
com::sun::star::io::XInputStream readCharacterStream()
reads the next attribute in the stream as a Unicode string.
hyper readLong()
reads the next attribute in the stream as hyper.
XRef readRef()
reads a REF(&lt;structured-type&gt;) from the stream.
double readDouble()
reads the next attribute in the stream as double.
byte readByte()
reads the next attribute in the stream as byte.
XClob readClob()
reads a CLOB from the stream.
com::sun::star::util::DateTime readTimestamp()
reads the next attribute in the stream as datetime.
XArray readArray()
reads an array from the stream.
com::sun::star::util::Date readDate()
reads the next attribute in the stream as date.
sequence< byte > readBytes()
reads the next attribute in the stream as sequence of bytes.
float readFloat()
reads the next attribute in the stream as float.
XBlob readBlob()
reads a BLOB from the stream.
short readShort()
reads the next attribute in the stream as short.
long readInt()
reads the next attribute in the stream as long.
any readObject()
returns the datum at the head of the stream as an any.
com::sun::star::util::Time readTime()
reads the next attribute in the stream as time.
boolean readBoolean()
reads the next attribute in the stream as boolean.
base interface of all UNO interfaces
Definition XInterface.idl:46
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