OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
heavydb.common.ttypes.TDatumType Class Reference
+ Inheritance diagram for heavydb.common.ttypes.TDatumType:
+ Collaboration diagram for heavydb.common.ttypes.TDatumType:

Static Public Attributes

int SMALLINT = 0
 
int INT = 1
 
int BIGINT = 2
 
int FLOAT = 3
 
int DECIMAL = 4
 
int DOUBLE = 5
 
int STR = 6
 
int TIME = 7
 
int TIMESTAMP = 8
 
int DATE = 9
 
int BOOL = 10
 
int INTERVAL_DAY_TIME = 11
 
int INTERVAL_YEAR_MONTH = 12
 
int POINT = 13
 
int LINESTRING = 14
 
int POLYGON = 15
 
int MULTIPOLYGON = 16
 
int TINYINT = 17
 
int GEOMETRY = 18
 
int GEOGRAPHY = 19
 
int MULTILINESTRING = 20
 
int MULTIPOINT = 21
 

Static Private Attributes

dictionary _VALUES_TO_NAMES
 
dictionary _NAMES_TO_VALUES
 

Detailed Description

Definition at line 34 of file ttypes.py.

Member Data Documentation

dictionary heavydb.common.ttypes.TDatumType._NAMES_TO_VALUES
staticprivate
Initial value:
1 = {
2  "SMALLINT": 0,
3  "INT": 1,
4  "BIGINT": 2,
5  "FLOAT": 3,
6  "DECIMAL": 4,
7  "DOUBLE": 5,
8  "STR": 6,
9  "TIME": 7,
10  "TIMESTAMP": 8,
11  "DATE": 9,
12  "BOOL": 10,
13  "INTERVAL_DAY_TIME": 11,
14  "INTERVAL_YEAR_MONTH": 12,
15  "POINT": 13,
16  "LINESTRING": 14,
17  "POLYGON": 15,
18  "MULTIPOLYGON": 16,
19  "TINYINT": 17,
20  "GEOMETRY": 18,
21  "GEOGRAPHY": 19,
22  "MULTILINESTRING": 20,
23  "MULTIPOINT": 21,
24  }

Definition at line 83 of file ttypes.py.

dictionary heavydb.common.ttypes.TDatumType._VALUES_TO_NAMES
staticprivate
Initial value:
1 = {
2  0: "SMALLINT",
3  1: "INT",
4  2: "BIGINT",
5  3: "FLOAT",
6  4: "DECIMAL",
7  5: "DOUBLE",
8  6: "STR",
9  7: "TIME",
10  8: "TIMESTAMP",
11  9: "DATE",
12  10: "BOOL",
13  11: "INTERVAL_DAY_TIME",
14  12: "INTERVAL_YEAR_MONTH",
15  13: "POINT",
16  14: "LINESTRING",
17  15: "POLYGON",
18  16: "MULTIPOLYGON",
19  17: "TINYINT",
20  18: "GEOMETRY",
21  19: "GEOGRAPHY",
22  20: "MULTILINESTRING",
23  21: "MULTIPOINT",
24  }

Definition at line 58 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.BIGINT = 2
static

Definition at line 37 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.BOOL = 10
static

Definition at line 45 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.DATE = 9
static

Definition at line 44 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.DECIMAL = 4
static

Definition at line 39 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.DOUBLE = 5
static

Definition at line 40 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.FLOAT = 3
static

Definition at line 38 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.GEOGRAPHY = 19
static

Definition at line 54 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.GEOMETRY = 18
static

Definition at line 53 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.INT = 1
static

Definition at line 36 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.INTERVAL_DAY_TIME = 11
static

Definition at line 46 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.INTERVAL_YEAR_MONTH = 12
static

Definition at line 47 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.LINESTRING = 14
static

Definition at line 49 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.MULTILINESTRING = 20
static

Definition at line 55 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.MULTIPOINT = 21
static

Definition at line 56 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.MULTIPOLYGON = 16
static

Definition at line 51 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.POINT = 13
static

Definition at line 48 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.POLYGON = 15
static

Definition at line 50 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.SMALLINT = 0
static

Definition at line 35 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.STR = 6
static

Definition at line 41 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.TIME = 7
static

Definition at line 42 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.TIMESTAMP = 8
static

Definition at line 43 of file ttypes.py.

int heavydb.common.ttypes.TDatumType.TINYINT = 17
static

Definition at line 52 of file ttypes.py.


The documentation for this class was generated from the following file: