timeplus.type

type

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

View Source
"""
type

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

from enum import Enum


class Type(Enum):
    """
    Type class is a enumeration that defines all the types supported by timeplus
    """

    Integer = "integer"
    Decimal = "decimal"
    Float = "float"
    Bool = "bool"
    String = "string"
    Date = "date"
    Datetime = "datetime"
    Datetime64 = "datetime64"
    Array = "array"
    Map = "map"
    Tuple = "tuple"
#   class Type(enum.Enum):
View Source
class Type(Enum):
    """
    Type class is a enumeration that defines all the types supported by timeplus
    """

    Integer = "integer"
    Decimal = "decimal"
    Float = "float"
    Bool = "bool"
    String = "string"
    Date = "date"
    Datetime = "datetime"
    Datetime64 = "datetime64"
    Array = "array"
    Map = "map"
    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