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

LibreOffice LibreOffice 7.3 SDK API Reference

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#ifndef __com_sun_star_sdbc_XSQLOutput_idl__
20#define __com_sun_star_sdbc_XSQLOutput_idl__
21
22#include <com/sun/star/uno/XInterface.idl>
23
24#include <com/sun/star/util/Date.idl>
25
26#include <com/sun/star/util/DateTime.idl>
27
28#include <com/sun/star/util/Time.idl>
29
30 module com { module sun { module star { module io {
31 published interface XInputStream;
32};};};};
33
34#include <com/sun/star/sdbc/SQLException.idl>
35
36 module com { module sun { module star { module sdbc {
37
38 published interface XRef;
39 published interface XArray;
40 published interface XBlob;
41 published interface XClob;
42 published interface XStruct;
43 published interface XSQLData;
44
45
73published interface XSQLOutput: com::sun::star::uno::XInterface
74{
75
82 void writeString([in]string x) raises (SQLException);
83
90 void writeBoolean([in]boolean x) raises (SQLException);
91
98 void writeByte([in]byte x) raises (SQLException);
99
106 void writeShort([in]short x) raises (SQLException);
107
114 void writeInt([in]long x) raises (SQLException);
115
122 void writeLong([in]hyper x) raises (SQLException);
123
130 void writeFloat([in]float x) raises (SQLException);
131
138 void writeDouble([in]double x) raises (SQLException);
139
146 void writeBytes([in]sequence<byte> x) raises (SQLException);
147
154 void writeDate([in]com::sun::star::util::Date x) raises (SQLException);
155
162 void writeTime([in]com::sun::star::util::Time x) raises (SQLException);
163
170 void writeTimestamp([in]com::sun::star::util::DateTime x)
171 raises (SQLException);
172
180 void writeBinaryStream([in]com::sun::star::io::XInputStream x)
181 raises (SQLException);
182
189 void writeCharacterStream([in]com::sun::star::io::XInputStream x)
190 raises (SQLException);
191
224 void writeObject([in]XSQLData x) raises (SQLException);
225
232 void writeRef([in]XRef x) raises (SQLException);
233
240 void writeBlob([in]XBlob x) raises (SQLException);
241
248 void writeClob([in]XClob x) raises (SQLException);
249
256 void writeStruct([in]XStruct x) raises (SQLException);
257
264 void writeArray([in]XArray x) raises (SQLException);
265};
266
267
268}; }; }; };
269
270/*===========================================================================
271===========================================================================*/
272#endif
273
274/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
SQLException.idl
XInterface.idl
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
com::sun::star::io::XInputStream
This is the basic interface to read data from a stream.
Definition: XInputStream.idl:38
com::sun::star::sdbc::XArray
is used for mapping the SQL type com::sun::star::sdbc::DataType::ARRAY.
Definition: XArray.idl:42
com::sun::star::sdbc::XBlob
is the representation (mapping) of an SQL BLOB.
Definition: XBlob.idl:93
com::sun::star::sdbc::XClob
is the mapping for the SQL CLOB type.
Definition: XClob.idl:89
com::sun::star::sdbc::XRef
is the reference to a SQL structured type value in the database.
Definition: XRef.idl:35
com::sun::star::sdbc::XSQLData
is used for the custom mapping of SQL user-defined types.
Definition: XSQLData.idl:44
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:74
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:48
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition: XInterface.idl:48
com
Definition: Ambiguous.idl:22
Date.idl
com::sun::star::util::DateTime
represents a combined date+time value.
Definition: DateTime.idl:29
com::sun::star::util::Date
represents a date value.
Definition: Date.idl:31
com::sun::star::util::Time
represents a time value.
Definition: Time.idl:29
DateTime.idl
Time.idl