LibreOffice
LibreOffice 5.1 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> >
84  getStructuredFilter();
85 
86  // GROUP BY
87 
96  string getGroup();
97 
105  com::sun::star::container::XIndexAccess getGroupColumns();
106 
107  // HAVING
108 
117  string getHavingClause();
118 
129  sequence< sequence<com::sun::star::beans::PropertyValue> >
130  getStructuredHavingClause();
131 
132  // ORDER BY
141  string getOrder();
142 
151  com::sun::star::container::XIndexAccess getOrderColumns();
152 
188  string getQueryWithSubstitution()
190 
218  void setCommand([in] string Command ,[in] long CommandType)
220 };
221 
222 
223 }; }; }; };
224 
225 #endif
226 
227 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
simplifies the analyzing of single select statements.
Definition: XSingleSelectQueryAnalyzer.idl:40
Definition: Ambiguous.idl:22
provides access to the elements of a collection through an index.
Definition: XIndexAccess.idl:39
is an exception that provides information on a database access error.
Definition: SQLException.idl:44
base interface of all UNO interfaces
Definition: XInterface.idl:47