LibreOffice: com/sun/star/sdb/XSingleSelectQueryComposer.idl Source File

LibreOffice LibreOffice 24.2 SDK API Reference |

Loading...
Searching...
No Matches
XSingleSelectQueryComposer.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
21 module com { module sun { module star { module sdb {
22
23
33 interface XSingleSelectQueryComposer: XSingleSelectQueryAnalyzer
34{
35 // FILTER
36
45 void setFilter([in] string filter)
46 raises (com::sun::star::sdbc::SQLException);
47
58 void setStructuredFilter([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
59 raises (com::sun::star::sdbc::SQLException,com::sun::star::lang::IllegalArgumentException);
60
76 void appendFilterByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
77 raises (com::sun::star::sdbc::SQLException, com::sun::star::lang::WrappedTargetException);
78
79 // GROUP BY
80
81
90 void setGroup([in] string group)
91 raises (com::sun::star::sdbc::SQLException);
92
93
101 void appendGroupByColumn([in] com::sun::star::beans::XPropertySet column)
102 raises (com::sun::star::sdbc::SQLException);
103
104 // HAVING
105
114 void setHavingClause([in] string filter)
115 raises (com::sun::star::sdbc::SQLException);
116
117
128 void setStructuredHavingClause([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
129 raises (com::sun::star::sdbc::SQLException);
130
145 void appendHavingClauseByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
146 raises (com::sun::star::sdbc::SQLException, com::sun::star::lang::WrappedTargetException);
147
148 // ORDER BY
149
158 void setOrder([in] string order)
159 raises (com::sun::star::sdbc::SQLException);
160
161
171 void appendOrderByColumn([in] com::sun::star::beans::XPropertySet column,
172 [in] boolean ascending)
173 raises (com::sun::star::sdbc::SQLException);
174
175 // cumulative composing
176
216 [attribute] string ElementaryQuery
217 {
218 set raises (com::sun::star::sdbc::SQLException);
219 };
220};
221
222
223}; }; }; };
224
225/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::lang::IllegalArgumentException
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument.
Definition IllegalArgumentException.idl:27
com::sun::star::lang::WrappedTargetException
This is a checked exception that wraps an exception thrown by the original target.
Definition WrappedTargetException.idl:34
com::sun::star::sdbc::SQLException
is an exception that provides information on a database access error.
Definition SQLException.idl:41
com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Definition generated_idl_chapter_refs.idl:752
com::sun::star::sdb::XSingleSelectQueryAnalyzer
simplifies the analyzing of single select statements.
Definition XSingleSelectQueryAnalyzer.idl:35
com::sun::star::sdb::XSingleSelectQueryComposer
simplifies the composing of single select statements.
Definition XSingleSelectQueryComposer.idl:34
com::sun::star::sdb::XSingleSelectQueryComposer::setStructuredFilter
void setStructuredFilter([in] sequence< sequence< com::sun::star::beans::PropertyValue > > filter)
appends a new set of filter criteria which is split into levels.
com::sun::star::sdb::XSingleSelectQueryComposer::ElementaryQuery
string ElementaryQuery
sets a new elementary query for the composer
Definition XSingleSelectQueryComposer.idl:219
com::sun::star::sdb::XSingleSelectQueryComposer::setFilter
void setFilter([in] string filter)
makes it possible to set a filter condition for the query.
com::sun::star::sdb::XSingleSelectQueryComposer::appendGroupByColumn
void appendGroupByColumn([in] com::sun::star::beans::XPropertySet column)
appends an additional part to the group criteria of the select statement.
com::sun::star::sdb::XSingleSelectQueryComposer::setHavingClause
void setHavingClause([in] string filter)
makes it possible to set a HAVING filter condition for the query.
com::sun::star::sdb::XSingleSelectQueryComposer::setGroup
void setGroup([in] string group)
makes it possible to set a group for the query.
com::sun::star::sdb::XSingleSelectQueryComposer::appendHavingClauseByColumn
void appendHavingClauseByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
appends a new HAVING filter condition by a com::sun::star::sdb::DataColumn providing the name and the...
com::sun::star::sdb::XSingleSelectQueryComposer::appendOrderByColumn
void appendOrderByColumn([in] com::sun::star::beans::XPropertySet column, [in] boolean ascending)
appends an additional part to the sort order criteria of the select statement.
com::sun::star::sdb::XSingleSelectQueryComposer::setOrder
void setOrder([in] string order)
makes it possible to set a sort condition for the query.
com::sun::star::sdb::XSingleSelectQueryComposer::setStructuredHavingClause
void setStructuredHavingClause([in] sequence< sequence< com::sun::star::beans::PropertyValue > > filter)
appends a new set of HAVING filter criteria which is split into levels.
com::sun::star::sdb::XSingleSelectQueryComposer::appendFilterByColumn
void appendFilterByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
appends a new filter condition by a com::sun::star::sdb::DataColumn providing the name and the value ...
com
Definition Ambiguous.idl:20