Version 5.2.6.1, tag libreoffice-5.2.6.1
[LibreOffice.git] / offapi / com / sun / star / sdbc / ColumnSearch.idl
blob200179475d8a9a320ef735e349392bcbfc5e89e9
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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/.
9 * This file incorporates work covered by the following license notice:
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 .
19 #ifndef __com_sun_star_sdbc_ColumnSearch_idl__
20 #define __com_sun_star_sdbc_ColumnSearch_idl__
22 module com { module sun { module star { module sdbc {
25 /** indicates in which way a column can be used in the WHERE search.
27 published constants ColumnSearch
30 /** A possible value for column <code>SEARCHABLE</code> in the
31 com::sun::star::sdbc::XResultSet
32 object returned by the method
33 com::sun::star::sdbc::XDatabaseMetaData::getTypeInfo().
34 <p>
35 Indicates that
36 <code>WHERE</code>
37 search clauses are not supported
38 for this type.
40 const long NONE = 0;
42 /** A possible value for column <code>SEARCHABLE</code> in the
43 com::sun::star::sdbc::XResultSet
44 object returned by the method
45 com::sun::star::sdbc::XDatabaseMetaData::getTypeInfo().
46 <p>
47 Indicates that the only
48 <code>WHERE</code>
49 search clause that can
50 be based on this type is
51 <code>WHERE...LIKE</code>.
53 const long CHAR = 1;
55 /** A possible value for column <code>SEARCHABLE</code> in the
56 com::sun::star::sdbc::XResultSet
57 object returned by the method
58 com::sun::star::sdbc">XDatabaseMetaData::getTypeInfo().
59 <p>
60 Indicates that one can base all
61 <code>WHERE</code>
62 search clauses
63 except
64 <code>WHERE...LIKE</code>
65 on this data type.
67 const long BASIC = 2;
69 /** A possible value for column
70 <code>SEARCHABLE</code>
71 in the
72 com::sun::star::sdbc::XResultSet
73 object returned by the method
74 com::sun::star::sdbc">XDatabaseMetaData::getTypeInfo().
75 <p>
76 Indicates that all
77 <code>WHERE</code>
78 search clauses can be
79 based on this type.
81 const long FULL = 3;
85 }; }; }; };
87 /*===========================================================================
88 ===========================================================================*/
89 #endif
91 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */