LibreOffice LibreOffice 25.8 SDK API Reference

Loading...
Searching...
No Matches
XSQLOutput.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 published interface XStruct;
31 published interface XSQLData;
32
33
61published interface XSQLOutput: com::sun::star::uno::XInterface
62{
63
70 void writeString([in]string x) raises (SQLException);
71
78 void writeBoolean([in]boolean x) raises (SQLException);
79
86 void writeByte([in]byte x) raises (SQLException);
87
94 void writeShort([in]short x) raises (SQLException);
95
102 void writeInt([in]long x) raises (SQLException);
103
110 void writeLong([in]hyper x) raises (SQLException);
111
118 void writeFloat([in]float x) raises (SQLException);
119
126 void writeDouble([in]double x) raises (SQLException);
127
134 void writeBytes([in]sequence<byte> x) raises (SQLException);
135
142 void writeDate([in]com::sun::star::util::Date x) raises (SQLException);
143
150 void writeTime([in]com::sun::star::util::Time x) raises (SQLException);
151
158 void writeTimestamp([in]com::sun::star::util::DateTime x)
159 raises (SQLException);
160
168 void writeBinaryStream([in]com::sun::star::io::XInputStream x)
169 raises (SQLException);
170
177 void writeCharacterStream([in]com::sun::star::io::XInputStream x)
178 raises (SQLException);
179
212 void writeObject([in]XSQLData x) raises (SQLException);
213
220 void writeRef([in]XRef x) raises (SQLException);
221
228 void writeBlob([in]XBlob x) raises (SQLException);
229
236 void writeClob([in]XClob x) raises (SQLException);
237
244 void writeStruct([in]XStruct x) raises (SQLException);
245
252 void writeArray([in]XArray x) raises (SQLException);
253};
254
255
256}; }; }; };
257
258/*===========================================================================
259===========================================================================*/
260
261/* 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::io::XInputStream
This is the basic interface to read data from a stream.
Definition XInputStream.idl:30
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::XSQLData
is used for the custom mapping of SQL user-defined types.
Definition XSQLData.idl:38
com::sun::star::sdbc::XSQLOutput
is used as an output stream for writing the attributes of a user-defined type back to the database.
Definition XSQLOutput.idl:62
com::sun::star::sdbc::XSQLOutput::writeDouble
void writeDouble([in]double x)
writes the next attribute to the stream as double.
com::sun::star::sdbc::XSQLOutput::writeBlob
void writeBlob([in]XBlob x)
writes a BLOB to the stream.
com::sun::star::sdbc::XSQLOutput::writeObject
void writeObject([in]XSQLData x)
writes to the stream the data contained in the given XSQLData object.
com::sun::star::sdbc::XSQLOutput::writeTimestamp
void writeTimestamp([in]com::sun::star::util::DateTime x)
writes the next attribute to the stream as a datetime.
com::sun::star::sdbc::XSQLOutput::writeBytes
void writeBytes([in]sequence< byte > x)
writes the next attribute to the stream as byte sequence.
com::sun::star::sdbc::XSQLOutput::writeClob
void writeClob([in]XClob x)
writes a CLOB to the stream.
com::sun::star::sdbc::XSQLOutput::writeBoolean
void writeBoolean([in]boolean x)
writes the next attribute to the stream as boolean.
com::sun::star::sdbc::XSQLOutput::writeRef
void writeRef([in]XRef x)
writes a REF(&lt;structured-type&gt;) to the stream.
com::sun::star::sdbc::XSQLOutput::writeStruct
void writeStruct([in]XStruct x)
writes a structured-type to the stream.
com::sun::star::sdbc::XSQLOutput::writeLong
void writeLong([in]hyper x)
writes the next attribute to the stream as hyper.
com::sun::star::sdbc::XSQLOutput::writeTime
void writeTime([in]com::sun::star::util::Time x)
writes the next attribute to the stream as a time.
com::sun::star::sdbc::XSQLOutput::writeInt
void writeInt([in]long x)
writes the next attribute to the stream as long.
com::sun::star::sdbc::XSQLOutput::writeString
void writeString([in]string x)
writes the next attribute to the stream as a string.
com::sun::star::sdbc::XSQLOutput::writeFloat
void writeFloat([in]float x)
writes the next attribute to the stream as float.
com::sun::star::sdbc::XSQLOutput::writeCharacterStream
void writeCharacterStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of Unicode string.
com::sun::star::sdbc::XSQLOutput::writeShort
void writeShort([in]short x)
writes the next attribute to the stream as short.
com::sun::star::sdbc::XSQLOutput::writeBinaryStream
void writeBinaryStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of uninterpreted bytes.
com::sun::star::sdbc::XSQLOutput::writeArray
void writeArray([in]XArray x)
writes an array to the stream.
com::sun::star::sdbc::XSQLOutput::writeByte
void writeByte([in]byte x)
writes the next attribute to the stream as byte.
com::sun::star::sdbc::XSQLOutput::writeDate
void writeDate([in]com::sun::star::util::Date x)
writes the next attribute to the stream as a date.
com::sun::star::sdbc::XStruct
is used for the standard mapping for a SQL structured type.
Definition XStruct.idl:42
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition XInterface.idl:46
com
Definition Ambiguous.idl:20
com::sun::star::util::DateTime
represents a combined date+time value.
Definition DateTime.idl:27
com::sun::star::util::Date
represents a date value.
Definition Date.idl:29
com::sun::star::util::Time
represents a time value.
Definition Time.idl:27