LibreOffice
LibreOffice 7.4 SDK API Reference
XSingleSelectQueryAnalyzer.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_sdb_XSingleSelectQueryAnalyzer_idl__
20 #define __com_sun_star_sdb_XSingleSelectQueryAnalyzer_idl__
21 
25 
26 module com { module sun { module star { module container {
27 published interface XIndexAccess;
28 };};};};
29 
30  module com { module sun { module star { module sdb {
31 
32 
41 {
42 
47  string getQuery();
48 
59  void setQuery([in] string command )
61  // FILTER
62 
71  string getFilter();
72 
83  sequence< sequence<com::sun::star::beans::PropertyValue> >
85 
86  // GROUP BY
87 
96  string getGroup();
97 
106 
107  // HAVING
108 
117  string getHavingClause();
118 
129  sequence< sequence<com::sun::star::beans::PropertyValue> >
131 
132  // ORDER BY
141  string getOrder();
142 
152 
189  raises (com::sun::star::sdbc::SQLException);
190 
218  void setCommand([in] string Command ,[in] long CommandType)
219  raises (com::sun::star::sdbc::SQLException);
220 };
221 
222 
223 }; }; }; };
224 
225 #endif
226 
227 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
is an exception that provides information on a database access error.
Definition: SQLException.idl:45
provides access to the elements of a collection through an index.
Definition: XIndexAccess.idl:40
simplifies the analyzing of single select statements.
Definition: XSingleSelectQueryAnalyzer.idl:41
com::sun::star::container::XIndexAccess getGroupColumns()
returns the currently used group.
string getQueryWithSubstitution()
returns the query previously set at the analyzer, with all application-level features being substitut...
sequence< sequence< com::sun::star::beans::PropertyValue > > getStructuredFilter()
returns the currently used filter.
string getOrder()
returns the currently used sort order.
string getGroup()
returns the currently used GROUP BY.
com::sun::star::container::XIndexAccess getOrderColumns()
returns the currently used sort order.
void setQuery([in] string command)
sets a new query for the composer, which may be expanded by filters, group by, having and sort criter...
string getHavingClause()
returns the used HAVING filter.
sequence< sequence< com::sun::star::beans::PropertyValue > > getStructuredHavingClause()
returns the currently used HAVING filter.
string getFilter()
returns the used filter.
base interface of all UNO interfaces
Definition: XInterface.idl:48
Definition: Ambiguous.idl:22