LibreOffice
LibreOffice 7.3 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 #ifndef __com_sun_star_sdbc_DataType_idl__
20 #define __com_sun_star_sdbc_DataType_idl__
21 
22  module com { module sun { module star { module sdbc {
23 
24 
36 published constants DataType
37 {
38  const long BIT = -7;
39 
40  const long TINYINT = -6;
41 
42  const long SMALLINT = 5;
43 
44  const long INTEGER = 4;
45 
46  const long BIGINT = -5;
47 
48  const long FLOAT = 6;
49 
50  const long REAL = 7;
51 
52  const long DOUBLE = 8;
53 
54  const long NUMERIC = 2;
55 
56  const long DECIMAL = 3;
57 
58  const long CHAR = 1;
59 
60  const long VARCHAR = 12;
61 
62  const long LONGVARCHAR = -1;
63 
64  const long DATE = 91;
65 
66  const long TIME = 92;
67 
68  const long TIMESTAMP = 93;
69 
70  const long BINARY = -2;
71 
72  const long VARBINARY = -3;
73 
74  const long LONGVARBINARY = -4;
75 
76  const long SQLNULL = 0;
77 
78 
83  const long OTHER = 1111;
84 
85 
89  const long OBJECT = 2000;
90 
91 
95  const long DISTINCT = 2001;
96 
97 
101  const long STRUCT = 2002;
102 
103 
106  const long ARRAY = 2003;
107 
108 
111  const long BLOB = 2004;
112 
113 
116  const long CLOB = 2005;
117 
118 
121  const long REF = 2006;
122 
128  const long BOOLEAN = 16;
129 };
130 
131 
132 }; }; }; };
133 
134 #endif
135 
136 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
const long SQLNULL
Definition: DataType.idl:76
const long DATE
Definition: DataType.idl:64
const long BIGINT
Definition: DataType.idl:46
const long SMALLINT
Definition: DataType.idl:42
const long OBJECT
indicates a type which is represented by an object which implements this type.
Definition: DataType.idl:89
const long FLOAT
Definition: DataType.idl:48
const long DISTINCT
describes a type based on a built-in type.
Definition: DataType.idl:95
const long CLOB
indicates a type representing an SQL Character Large Object.
Definition: DataType.idl:116
const long VARCHAR
Definition: DataType.idl:60
const long STRUCT
indicates a type consisting of attributes that may be any type.
Definition: DataType.idl:101
const long BIT
Definition: DataType.idl:38
const long REF
indicates a type representing an SQL REF, a referencing type.
Definition: DataType.idl:121
const long TINYINT
Definition: DataType.idl:40
const long LONGVARBINARY
Definition: DataType.idl:74
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:83
const long ARRAY
indicates a type representing an SQL ARRAY.
Definition: DataType.idl:106
const long BOOLEAN
identifies the generic SQL type BOOLEAN.
Definition: DataType.idl:128
const long INTEGER
Definition: DataType.idl:44
const long LONGVARCHAR
Definition: DataType.idl:62
const long VARBINARY
Definition: DataType.idl:72
const long DECIMAL
Definition: DataType.idl:56
const long NUMERIC
Definition: DataType.idl:54
const long CHAR
Definition: DataType.idl:58
const long REAL
Definition: DataType.idl:50
const long TIME
Definition: DataType.idl:66
const long BINARY
Definition: DataType.idl:70
const long BLOB
indicates a type representing an SQL Binary Large Object.
Definition: DataType.idl:111
const long DOUBLE
Definition: DataType.idl:52
const long TIMESTAMP
Definition: DataType.idl:68
Definition: Ambiguous.idl:22