LibreOffice
LibreOffice 24.2 SDK API Reference
Statement.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 sdbc {
21 
22  published interface XWarningsSupplier;
23  published interface XStatement;
24  published interface XBatchExecution;
25  published interface XMultipleResults;
26  published interface XCloseable;
27 
28 
40 published service Statement
41 {
42 
46  [optional] interface com::sun::star::lang::XComponent;
47 
48 
52  interface XCloseable;
53 
54  // gives access to the properties.
56 
61  [optional] interface com::sun::star::util::XCancellable;
62 
65  interface XStatement;
66 
67 
77  [optional] interface XBatchExecution;
78 
79 
84  interface XWarningsSupplier;
85 
86 
90  [optional] interface XMultipleResults;
91 
92 
97  [property] long QueryTimeOut;
98 
99 
123  [property] long MaxFieldSize;
124 
125 
131  [property] long MaxRows;
132 
133 
157  [property] string CursorName;
158 
159 
164  [property] long ResultSetConcurrency;
165 
166 
171  [property] long ResultSetType;
172 
173 
184  [property] long FetchDirection;
185 
186 
197  [property] long FetchSize;
198 
199 
204  [property] boolean EscapeProcessing;
205 };
206 
207 
208 }; }; }; };
209 
210 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is used for executing a static SQL statement and obtaining the results produced by it...
Definition: XStatement.idl:41
long MaxRows
retrieves the maximum number of rows that a ResultSet can contain.
Definition: Statement.idl:131
long MaxFieldSize
returns the maximum number of bytes allowed for any column value.
Definition: Statement.idl:123
is used for collecting and executing a set of SQL statements.
Definition: XBatchExecution.idl:27
boolean EscapeProcessing
returns if escape processing is on or off.
Definition: Statement.idl:204
long ResultSetConcurrency
retrieves the result set concurrency.
Definition: Statement.idl:164
should be implemented of objects which may report warnings or non critical errors.
Definition: XWarningsSupplier.idl:27
allows to explicitly free resources and break cyclic references.
Definition: XComponent.idl:38
is used for inspecting multiple results produced by the execution of a SQL statement.
Definition: XMultipleResults.idl:46
Definition: Ambiguous.idl:20
long ResultSetType
determine the result set type.
Definition: Statement.idl:171
long FetchSize
retrieves the number of result set rows that is the default fetch size for result sets generated from...
Definition: Statement.idl:197
provides for the releasing of resources acquired by the implementing object.
Definition: XCloseable.idl:25
is used for executing a static SQL statement and obtaining the results produced by it...
Definition: Statement.idl:40
string CursorName
defines the SQL cursor name that will be used by subsequent Statement execute methods.
Definition: Statement.idl:157
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:45
long FetchDirection
retrieves the direction for fetching rows from database tables that is the default for result sets ge...
Definition: Statement.idl:184
offers the possibility of canceling a job.
Definition: XCancellable.idl:29