LibreOffice
LibreOffice 24.2 SDK API Reference
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 
34 {
35  // FILTER
36 
45  void setFilter([in] string filter)
47 
58  void setStructuredFilter([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
60 
76  void appendFilterByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
78 
79  // GROUP BY
80 
81 
90  void setGroup([in] string group)
92 
93 
101  void appendGroupByColumn([in] com::sun::star::beans::XPropertySet column)
103 
104  // HAVING
105 
114  void setHavingClause([in] string filter)
116 
117 
128  void setStructuredHavingClause([in] sequence< sequence<com::sun::star::beans::PropertyValue> > filter)
130 
145  void appendHavingClauseByColumn([in] com::sun::star::beans::XPropertySet column,[in] boolean andCriteria,[in] long filterOperator)
147 
148  // ORDER BY
149 
158  void setOrder([in] string order)
160 
161 
171  void appendOrderByColumn([in] com::sun::star::beans::XPropertySet column,
172  [in] boolean ascending)
174 
175  // cumulative composing
176 
216  [attribute] string ElementaryQuery
217  {
219  };
220 };
221 
222 
223 }; }; }; };
224 
225 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
simplifies the analyzing of single select statements.
Definition: XSingleSelectQueryAnalyzer.idl:34
Definition: Ambiguous.idl:20
simplifies the composing of single select statements.
Definition: XSingleSelectQueryComposer.idl:33
This exception is thrown to indicate that a method has passed an illegal or inappropriate argument...
Definition: IllegalArgumentException.idl:25
This is a checked exception that wraps an exception thrown by the original target.
Definition: WrappedTargetException.idl:33
is an exception that provides information on a database access error.
Definition: SQLException.idl:40
provides information about and access to the properties from an implementation.
Definition: XPropertySet.idl:45