LibreOffice
LibreOffice 7.1 SDK API Reference
PreparedStatement.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_PreparedStatement_idl__
20#define __com_sun_star_sdbc_PreparedStatement_idl__
21
23
25
27
28 module com { module sun { module star { module sdbc {
29
30 published interface XPreparedStatement;
31 published interface XPreparedBatchExecution;
32 published interface XParameters;
33 published interface XWarningsSupplier;
34 published interface XMultipleResults;
35 published interface XResultSetMetaDataSupplier;
36 published interface XCloseable;
37
38
84published service PreparedStatement
85{
86
91
92
96 interface XCloseable;
97
98 // gives access to the properties.
100
106
110
111
116
117
121 interface XParameters;
122
123
133 [optional] interface XPreparedBatchExecution;
134
135
141
142
146
147
152 [property] long QueryTimeOut;
153
154
178 [property] long MaxFieldSize;
179
180
185 [property] long MaxRows;
186
187
210 [property] string CursorName;
211
212
216 [property] long ResultSetConcurrency;
217
218
222 [property] long ResultSetType;
223
224
236 [property] long FetchDirection;
237
238
250 [property] long FetchSize;
251};
252
253
254}; }; }; };
255
256#endif
257
258/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:64
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:43
provides for the releasing of resources acquired by the implementing object.
Definition: XCloseable.idl:32
is used for inspecting multiple results produced by the execution of a SQL statement.
Definition: XMultipleResults.idl:53
is used for parameter setting, commonly implemented in conjunction with PreparedStatements.
Definition: XParameters.idl:77
is used for batch execution on PreparedStatements.
Definition: XPreparedBatchExecution.idl:41
provides the possibility of executing a precompiled SQL statement.
Definition: XPreparedStatement.idl:42
provides access to the meta data of a result set.
Definition: XResultSetMetaDataSupplier.idl:44
should be implemented of objects which may report warnings or non critical errors.
Definition: XWarningsSupplier.idl:34
offers the possibility of canceling a job.
Definition: XCancellable.idl:34
Definition: Ambiguous.idl:22
represents a precompiled SQL statement.
Definition: PreparedStatement.idl:85
long ResultSetConcurrency
retrieves the result set concurrency.
Definition: PreparedStatement.idl:216
string CursorName
defines the SQL cursor name that will be used by subsequent Statement execute methods.
Definition: PreparedStatement.idl:210
long ResultSetType
Determine the result set type.
Definition: PreparedStatement.idl:222
long FetchSize
retrieves the number of result set rows that is the default fetch size for result sets generated from...
Definition: PreparedStatement.idl:250
long FetchDirection
retrieves the direction for fetching rows from database tables that is the default for result sets ge...
Definition: PreparedStatement.idl:236
long MaxRows
retrieves the maximum number of rows that a ResultSet can contain.
Definition: PreparedStatement.idl:185
long QueryTimeOut
retrieves the number of seconds the driver will wait for a Statement to execute.
Definition: PreparedStatement.idl:145
long MaxFieldSize
returns the maximum number of bytes allowed for any column value.
Definition: PreparedStatement.idl:178