LibreOffice
LibreOffice 7.6 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Pages
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 
126  const long BOOLEAN = 16;
127 };
128 
129 
130 }; }; }; };
131 
132 /* 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 BLOB
indicates a type representing an SQL Binary Large Object.
Definition: DataType.idl:109
reflecting the 64-bit floating point type
Definition: TypeClass.idl:71
const long BIT
Definition: DataType.idl:36
const short NUMERIC
A transliteration module can have attribute NUMERIC if it transliterates numbers in different languag...
Definition: TransliterationType.idl:51
const long CLOB
indicates a type representing an SQL Character Large Object.
Definition: DataType.idl:114
const long LONGVARCHAR
Definition: DataType.idl:60
reflecting the boolean type; true and false
Definition: TypeClass.idl:44
reflecting the 16-bit unicode character type
Definition: TypeClass.idl:41
const short TIME
Time format, for example, "HH:MM:SS".
Definition: KNumberFormatUsage.idl:33
const long DISTINCT
describes a type based on a built-in type.
Definition: DataType.idl:93
const long REAL
Definition: DataType.idl:48
reflecting the 32-bit floating point type
Definition: TypeClass.idl:68
const long SQLNULL
is null
Definition: SQLFilterOperator.idl:57
const long INTEGER
Definition: DataType.idl:42
const long TIMESTAMP
Definition: DataType.idl:66
const long VARBINARY
Definition: DataType.idl:70
the type of the key is binary.
Definition: RegistryValueType.idl:46
Deprecated, UNOIDL does not have an array concept.
Definition: TypeClass.idl:105
const long REF
indicates a type representing an SQL REF, a referencing type.
Definition: DataType.idl:119
const long TINYINT
Definition: DataType.idl:38
const short OTHER
Any word that does not fit into any of the other properties.
Definition: ConversionPropertyType.idl:38
reflecting compound types
Definition: TypeClass.idl:89
const short DECIMAL
Definition: Key.idl:330
const long DATE
the axis shows dates if the given data and chart type and the dimension allows
Definition: ChartAxisType.idl:42
const long BIGINT
Definition: DataType.idl:44
const long SMALLINT
Definition: DataType.idl:40
const long LONGVARBINARY
Definition: DataType.idl:72