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

LibreOffice LibreOffice 24.8 SDK API Reference |

Loading...
Searching...
No Matches
XBlob.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
86published interface XBlob: com::sun::star::uno::XInterface
87{
88
102 hyper length() raises (SQLException);
103
104
141 sequence<byte> getBytes([in]hyper pos, [in]long length)
142 raises (SQLException);
143
144
157 com::sun::star::io::XInputStream getBinaryStream()
158 raises (SQLException);
159
182 hyper position([in]sequence<byte> pattern, [in]hyper start)
183 raises (SQLException);
184
185
205 hyper positionOfBlob([in]XBlob pattern,[in] hyper start)
206 raises (SQLException);
207};
208
209
210}; }; }; };
211
212/*===========================================================================
213===========================================================================*/
214
215/* 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::XBlob
is the representation (mapping) of an SQL BLOB.
Definition XBlob.idl:87
com::sun::star::sdbc::XBlob::getBinaryStream
com::sun::star::io::XInputStream getBinaryStream()
retrieves the BLOB designated by this Blob instance as a stream.
com::sun::star::sdbc::XBlob::getBytes
sequence< byte > getBytes([in]hyper pos, [in]long length)
returns as an array of bytes part or all of the BLOB value that this Blob object designates.
com::sun::star::sdbc::XBlob::positionOfBlob
hyper positionOfBlob([in]XBlob pattern,[in] hyper start)
determines the byte position in the BLOB value designated by this Blob object at which pattern begi...
com::sun::star::sdbc::XBlob::position
hyper position([in]sequence< byte > pattern, [in]hyper start)
determines the byte position at which the specified byte pattern begins within the BLOB value that ...
com::sun::star::sdbc::XBlob::length
hyper length()
returns the number of bytes in the BLOB value designated by this Blob object.
com::sun::star::uno::XInterface
base interface of all UNO interfaces
Definition generated_idl_chapter_refs.idl:452
com::sun::star::io
General input/output interfaces.
Definition AlreadyConnectedException.idl:22
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