xref: /AOO41X/main/offapi/com/sun/star/sdb/SQLFilterOperator.idl (revision d1766043198e81d0bcfc626e12893e7b4d7e31ca)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23#ifndef __com_sun_star_sdb_SQLFilterOperator_idl__
24#define __com_sun_star_sdb_SQLFilterOperator_idl__
25
26module com {  module sun {  module star {  module sdb {
27
28
29/** These constants are used to specify the filter operator
30    which should be applied when creating a filter
31    with the method <method>XSingleSelectQueryComposer::setStructuredFilter</method>.
32
33    @see com::sun::star::sdb::SingleSelectQueryComposer
34    @see com::sun::star::sdb::XSingleSelectQueryComposer
35*/
36constants SQLFilterOperator
37{
38    /// equal to
39    const long EQUAL            = 1;
40
41    /// not equal to
42    const long NOT_EQUAL        = 2;
43
44    /// less than
45    const long LESS             = 3;
46
47    /// greater than
48    const long GREATER          = 4;
49
50    /// less or eqal than
51    const long LESS_EQUAL       = 5;
52
53    /// greater or eqal than
54    const long GREATER_EQUAL    = 6;
55
56    /// like
57    const long LIKE             = 7;
58
59    /// not like
60    const long NOT_LIKE         = 8;
61
62    /// is null
63    const long SQLNULL          = 9;
64
65    /// is not null
66    const long NOT_SQLNULL      = 10;
67};
68//=============================================================================
69
70}; }; }; };
71
72/*===========================================================================
73===========================================================================*/
74#endif
75