LibreOffice
LibreOffice 24.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
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
143
151
159 raises (SQLException);
160
169 raises (SQLException);
170
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: */
is an exception that provides information on a database access error.
Definition SQLException.idl:41
This is the basic interface to read data from a stream.
Definition XInputStream.idl:30
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
is used for the custom mapping of SQL user-defined types.
Definition XSQLData.idl:38
is used as an output stream for writing the attributes of a user-defined type back to the database.
Definition XSQLOutput.idl:62
void writeDouble([in]double x)
writes the next attribute to the stream as double.
void writeBlob([in]XBlob x)
writes a BLOB to the stream.
void writeObject([in]XSQLData x)
writes to the stream the data contained in the given XSQLData object.
void writeTimestamp([in]com::sun::star::util::DateTime x)
writes the next attribute to the stream as a datetime.
void writeBytes([in]sequence< byte > x)
writes the next attribute to the stream as byte sequence.
void writeClob([in]XClob x)
writes a CLOB to the stream.
void writeBoolean([in]boolean x)
writes the next attribute to the stream as boolean.
void writeRef([in]XRef x)
writes a REF(&lt;structured-type&gt;) to the stream.
void writeStruct([in]XStruct x)
writes a structured-type to the stream.
void writeLong([in]hyper x)
writes the next attribute to the stream as hyper.
void writeTime([in]com::sun::star::util::Time x)
writes the next attribute to the stream as a time.
void writeInt([in]long x)
writes the next attribute to the stream as long.
void writeString([in]string x)
writes the next attribute to the stream as a string.
void writeFloat([in]float x)
writes the next attribute to the stream as float.
void writeCharacterStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of Unicode string.
void writeShort([in]short x)
writes the next attribute to the stream as short.
void writeBinaryStream([in]com::sun::star::io::XInputStream x)
writes the next attribute to the stream as a stream of uninterpreted bytes.
void writeArray([in]XArray x)
writes an array to the stream.
void writeByte([in]byte x)
writes the next attribute to the stream as byte.
void writeDate([in]com::sun::star::util::Date x)
writes the next attribute to the stream as a date.
is used for the standard mapping for a SQL structured type.
Definition XStruct.idl:42
base interface of all UNO interfaces
Definition XInterface.idl:46
Definition Ambiguous.idl:20
represents a combined date+time value.
Definition DateTime.idl:27
represents a date value.
Definition Date.idl:29
represents a time value.
Definition Time.idl:27