LibreOffice
LibreOffice 24.2 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: */
const long VARCHAR
Definition: DataType.idl:58
const long OBJECT
indicates a type which is represented by an object which implements this type.
Definition: DataType.idl:87
const long FLOAT
Definition: DataType.idl:46
const long BLOB
indicates a type representing an SQL Binary Large Object.
Definition: DataType.idl:109
const long DATALINK
indicates a type representing an SQL DATALINK.
Definition: DataType.idl:134
const long DECIMAL
Definition: DataType.idl:54
const long BIT
Definition: DataType.idl:36
const long CLOB
indicates a type representing an SQL Character Large Object.
Definition: DataType.idl:114
const long LONGVARCHAR
Definition: DataType.idl:60
const long ARRAY
indicates a type representing an SQL ARRAY.
Definition: DataType.idl:104
const long TIMESTAMP_WITH_TIMEZONE
indicates a type representing an SQL TIMESTAMP WITH TIMEZONE.
Definition: DataType.idl:197
const long NCHAR
indicates a type representing an SQL NCHAR.
Definition: DataType.idl:148
Definition: Ambiguous.idl:20
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
const long REF_CURSOR
indicates a type representing an SQL REF CURSOR.
Definition: DataType.idl:183
const long LONGNVARCHAR
indicates a type representing an SQL LONGNVARCHAR.
Definition: DataType.idl:162
const long DISTINCT
describes a type based on a built-in type.
Definition: DataType.idl:93
const long REAL
Definition: DataType.idl:48
const long TIME
Definition: DataType.idl:64
const long INTEGER
Definition: DataType.idl:42
const long TIMESTAMP
Definition: DataType.idl:66
const long STRUCT
indicates a type consisting of attributes that may be any type.
Definition: DataType.idl:99
const long NCLOB
indicates a type representing an SQL NCLOB.
Definition: DataType.idl:169
const long BINARY
Definition: DataType.idl:68
const long VARBINARY
Definition: DataType.idl:70
const long TIME_WITH_TIMEZONE
indicates a type representing an SQL TIME WITH TIMEZONE.
Definition: DataType.idl:190
const long REF
indicates a type representing an SQL REF, a referencing type.
Definition: DataType.idl:119
const long NUMERIC
Definition: DataType.idl:52
const long TINYINT
Definition: DataType.idl:38
const long CHAR
Definition: DataType.idl:56
const long BOOLEAN
identifies the generic SQL type BOOLEAN.
Definition: DataType.idl:127
const long SQLXML
indicates a type representing an SQL XML.
Definition: DataType.idl:176
const long NVARCHAR
indicates a type representing an SQL NVARCHAR.
Definition: DataType.idl:155
const long BIGINT
Definition: DataType.idl:44
const long SQLNULL
Definition: DataType.idl:74
const long SMALLINT
Definition: DataType.idl:40
const long ROWID
indicates a type representing an SQL ROWID.
Definition: DataType.idl:141
const long LONGVARBINARY
Definition: DataType.idl:72
const long DATE
Definition: DataType.idl:62
const long DOUBLE
Definition: DataType.idl:50