timeplus.type

type

This module defines timeplust suppported data types
:copyright: (c) 2022 by Timeplus
:license: Apache2, see LICENSE for more details.

View Source
 0"""
 1type
 2
 3This module defines timeplust suppported data types  
 4:copyright: (c) 2022 by Timeplus  
 5:license: Apache2, see LICENSE for more details.  
 6"""
 7
 8from enum import Enum
 9
10
11class Type(Enum):
12    """
13    Type class is a enumeration that defines all the types supported by timeplus
14    """
15
16    Integer = "integer"
17    Decimal = "decimal"
18    Float = "float"
19    Bool = "bool"
20    String = "string"
21    Date = "date"
22    Datetime = "datetime"
23    Datetime64 = "datetime64"
24    Array = "array"
25    Map = "map"
26    Tuple = "tuple"
#   class Type(enum.Enum):
View Source
12class Type(Enum):
13    """
14    Type class is a enumeration that defines all the types supported by timeplus
15    """
16
17    Integer = "integer"
18    Decimal = "decimal"
19    Float = "float"
20    Bool = "bool"
21    String = "string"
22    Date = "date"
23    Datetime = "datetime"
24    Datetime64 = "datetime64"
25    Array = "array"
26    Map = "map"
27    Tuple = "tuple"

Type class is a enumeration that defines all the types supported by timeplus

#   Integer = <Type.Integer: 'integer'>
#   Decimal = <Type.Decimal: 'decimal'>
#   Float = <Type.Float: 'float'>
#   Bool = <Type.Bool: 'bool'>
#   String = <Type.String: 'string'>
#   Date = <Type.Date: 'date'>
#   Datetime = <Type.Datetime: 'datetime'>
#   Datetime64 = <Type.Datetime64: 'datetime64'>
#   Array = <Type.Array: 'array'>
#   Map = <Type.Map: 'map'>
#   Tuple = <Type.Tuple: 'tuple'>
Inherited Members
enum.Enum
name
value