LibreOffice
LibreOffice 25.8 SDK API Reference
DataType.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  module com { module sun { module star { module sdbc {
21 
22 
34 published constants DataType
35 {
36  const long BIT = -7;
37 
38  const long TINYINT = -6;
39 
40  const long SMALLINT = 5;
41 
42  const long INTEGER = 4;
43 
44  const long BIGINT = -5;
45 
46  const long FLOAT = 6;
47 
48  const long REAL = 7;
49 
50  const long DOUBLE = 8;
51 
52  const long NUMERIC = 2;
53 
54  const long DECIMAL = 3;
55 
56  const long CHAR = 1;
57 
58  const long VARCHAR = 12;
59 
60  const long LONGVARCHAR = -1;
61 
62  const long DATE = 91;
63 
64  const long TIME = 92;
65 
66  const long TIMESTAMP = 93;
67 
68  const long BINARY = -2;
69 
70  const long VARBINARY = -3;
71 
72  const long LONGVARBINARY = -4;
73 
74  const long SQLNULL = 0;
75 
76 
81  const long OTHER = 1111;
82 
83 
87  const long OBJECT = 2000;
88 
89 
93  const long DISTINCT = 2001;
94 
95 
99  const long STRUCT = 2002;
100 
101 
104  const long ARRAY = 2003;
105 
106 
109  const long BLOB = 2004;
110 
111 
114  const long CLOB = 2005;
115 
116 
119  const long REF = 2006;
120 
121 
127  const long BOOLEAN = 16;
128 
129 
134  const long DATALINK = 70;
135 
136 
141  const long ROWID = -8;
142 
143 
148  const long NCHAR = -15;
149 
150 
155  const long NVARCHAR = -9;
156 
157 
162  const long LONGNVARCHAR = -16;
163 
164 
169  const long NCLOB = 2011;
170 
171 
176  const long SQLXML = 2009;
177 
178 
183  const long REF_CURSOR = 2012;
184 
185 
190  const long TIME_WITH_TIMEZONE = 2013;
191 
192 
197  const long TIMESTAMP_WITH_TIMEZONE = 2014;
198 
199 };
200 
201 
202 }; }; }; };
203 
204 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
com::sun::star::sdbc::DataType::NVARCHAR
const long NVARCHAR
indicates a type representing an SQL NVARCHAR.
Definition: DataType.idl:155
com::sun::star::sdbc::DataType::DOUBLE
const long DOUBLE
Definition: DataType.idl:50
com::sun::star::sdbc::DataType::NUMERIC
const long NUMERIC
Definition: DataType.idl:52
com::sun::star::sdbc::DataType::INTEGER
const long INTEGER
Definition: DataType.idl:42
com::sun::star::sdbc::DataType::LONGVARCHAR
const long LONGVARCHAR
Definition: DataType.idl:60
com::sun::star::sdbc::DataType::TIMESTAMP
const long TIMESTAMP
Definition: DataType.idl:66
com::sun::star::sdbc::DataType::LONGVARBINARY
const long LONGVARBINARY
Definition: DataType.idl:72
com::sun::star::sdbc::DataType::ARRAY
const long ARRAY
indicates a type representing an SQL ARRAY.
Definition: DataType.idl:104
com::sun::star::sdbc::DataType::TINYINT
const long TINYINT
Definition: DataType.idl:38
com::sun::star::sdbc::DataType::SMALLINT
const long SMALLINT
Definition: DataType.idl:40
com::sun::star::sdbc::DataType::SQLXML
const long SQLXML
indicates a type representing an SQL XML.
Definition: DataType.idl:176
com::sun::star::sdbc::DataType::BOOLEAN
const long BOOLEAN
identifies the generic SQL type BOOLEAN.
Definition: DataType.idl:127
com::sun::star::sdbc::DataType::TIME
const long TIME
Definition: DataType.idl:64
com::sun::star::sdbc::DataType::DATALINK
const long DATALINK
indicates a type representing an SQL DATALINK.
Definition: DataType.idl:134
com::sun::star::sdbc::DataType::BINARY
const long BINARY
Definition: DataType.idl:68
com::sun::star::sdbc::DataType::NCLOB
const long NCLOB
indicates a type representing an SQL NCLOB.
Definition: DataType.idl:169
com::sun::star::sdbc::DataType::OBJECT
const long OBJECT
indicates a type which is represented by an object which implements this type.
Definition: DataType.idl:87
com::sun::star::sdbc::DataType::BIGINT
const long BIGINT
Definition: DataType.idl:44
com::sun::star::sdbc::DataType::STRUCT
const long STRUCT
indicates a type consisting of attributes that may be any type.
Definition: DataType.idl:99
com::sun::star::sdbc::DataType::OTHER
const long OTHER
indicates that the SQL type is database-specific and gets mapped to an object that can be accessed vi...
Definition: DataType.idl:81
com::sun::star::sdbc::DataType::FLOAT
const long FLOAT
Definition: DataType.idl:46
com::sun::star::sdbc::DataType::LONGNVARCHAR
const long LONGNVARCHAR
indicates a type representing an SQL LONGNVARCHAR.
Definition: DataType.idl:162
com::sun::star::sdbc::DataType::REF
const long REF
indicates a type representing an SQL REF, a referencing type.
Definition: DataType.idl:119
com::sun::star::sdbc::DataType::BLOB
const long BLOB
indicates a type representing an SQL Binary Large Object.
Definition: DataType.idl:109
com::sun::star::sdbc::DataType::REAL
const long REAL
Definition: DataType.idl:48
com::sun::star::sdbc::DataType::SQLNULL
const long SQLNULL
Definition: DataType.idl:74
com::sun::star::sdbc::DataType::TIME_WITH_TIMEZONE
const long TIME_WITH_TIMEZONE
indicates a type representing an SQL TIME WITH TIMEZONE.
Definition: DataType.idl:190
com
Definition: Ambiguous.idl:20
com::sun::star::sdbc::DataType::ROWID
const long ROWID
indicates a type representing an SQL ROWID.
Definition: DataType.idl:141
com::sun::star::sdbc::DataType::NCHAR
const long NCHAR
indicates a type representing an SQL NCHAR.
Definition: DataType.idl:148
com::sun::star::sdbc::DataType::BIT
const long BIT
Definition: DataType.idl:36
com::sun::star::sdbc::DataType::DATE
const long DATE
Definition: DataType.idl:62
com::sun::star::sdbc::DataType::DECIMAL
const long DECIMAL
Definition: DataType.idl:54
com::sun::star::sdbc::DataType::CLOB
const long CLOB
indicates a type representing an SQL Character Large Object.
Definition: DataType.idl:114
com::sun::star::sdbc::DataType::VARCHAR
const long VARCHAR
Definition: DataType.idl:58
com::sun::star::sdbc::DataType::DISTINCT
const long DISTINCT
describes a type based on a built-in type.
Definition: DataType.idl:93
com::sun::star::sdbc::DataType::CHAR
const long CHAR
Definition: DataType.idl:56
com::sun::star::sdbc::DataType::REF_CURSOR
const long REF_CURSOR
indicates a type representing an SQL REF CURSOR.
Definition: DataType.idl:183
com::sun::star::sdbc::DataType::TIMESTAMP_WITH_TIMEZONE
const long TIMESTAMP_WITH_TIMEZONE
indicates a type representing an SQL TIMESTAMP WITH TIMEZONE.
Definition: DataType.idl:197
com::sun::star::sdbc::DataType::VARBINARY
const long VARBINARY
Definition: DataType.idl:70