LibreOffice LibreOffice 25.8 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
61published interface XSQLInput: com::sun::star::uno::XInterface
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
210 XRef readRef() raises (SQLException);
211
218 XBlob readBlob() raises (SQLException);
219
226 XClob readClob() raises (SQLException);
227
234 XArray readArray() raises (SQLException);
235
242 boolean wasNull() raises (SQLException);
243};
244
245
246}; }; }; };
247
248/*===========================================================================
249===========================================================================*/
250
251/* 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::XSQLInput
represents an input stream that contains a stream of values representing an instance of a SQL structu...
Definition XSQLInput.idl:62
com::sun::star::sdbc::XSQLInput::readString
string readString()
reads the next attribute in the stream as string.
com::sun::star::sdbc::XSQLInput::wasNull
boolean wasNull()
determines whether the last value read was null.
com::sun::star::sdbc::XSQLInput::readBinaryStream
com::sun::star::io::XInputStream readBinaryStream()
reads the next attribute in the stream as sequence of bytes.
com::sun::star::sdbc::XSQLInput::readCharacterStream
com::sun::star::io::XInputStream readCharacterStream()
reads the next attribute in the stream as a Unicode string.
com::sun::star::sdbc::XSQLInput::readLong
hyper readLong()
reads the next attribute in the stream as hyper.
com::sun::star::sdbc::XSQLInput::readRef
XRef readRef()
reads a REF(&lt;structured-type&gt;) from the stream.
com::sun::star::sdbc::XSQLInput::readDouble
double readDouble()
reads the next attribute in the stream as double.
com::sun::star::sdbc::XSQLInput::readByte
byte readByte()
reads the next attribute in the stream as byte.
com::sun::star::sdbc::XSQLInput::readClob
XClob readClob()
reads a CLOB from the stream.
com::sun::star::sdbc::XSQLInput::readTimestamp
com::sun::star::util::DateTime readTimestamp()
reads the next attribute in the stream as datetime.
com::sun::star::sdbc::XSQLInput::readArray
XArray readArray()
reads an array from the stream.
com::sun::star::sdbc::XSQLInput::readDate
com::sun::star::util::Date readDate()
reads the next attribute in the stream as date.
com::sun::star::sdbc::XSQLInput::readBytes
sequence< byte > readBytes()
reads the next attribute in the stream as sequence of bytes.
com::sun::star::sdbc::XSQLInput::readFloat
float readFloat()
reads the next attribute in the stream as float.
com::sun::star::sdbc::XSQLInput::readBlob
XBlob readBlob()
reads a BLOB from the stream.
com::sun::star::sdbc::XSQLInput::readShort
short readShort()
reads the next attribute in the stream as short.
com::sun::star::sdbc::XSQLInput::readInt
long readInt()
reads the next attribute in the stream as long.
com::sun::star::sdbc::XSQLInput::readObject
any readObject()
returns the datum at the head of the stream as an any.
com::sun::star::sdbc::XSQLInput::readTime
com::sun::star::util::Time readTime()
reads the next attribute in the stream as time.
com::sun::star::sdbc::XSQLInput::readBoolean
boolean readBoolean()
reads the next attribute in the stream as boolean.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
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