Module astrapy.data.utils.table_types

Classes

class ColumnType (*args, **kwds)
Expand source code
class ColumnType(StrEnum):
    """
    Enum to describe the scalar column types for Tables.

    A 'scalar' type is a non-composite type: that means, no sets, lists, maps
    and other non-primitive data types.
    """

    ASCII = "ascii"
    BIGINT = "bigint"
    BLOB = "blob"
    BOOLEAN = "boolean"
    COUNTER = "counter"
    DATE = "date"
    DECIMAL = "decimal"
    DOUBLE = "double"
    DURATION = "duration"
    FLOAT = "float"
    INET = "inet"
    INT = "int"
    SMALLINT = "smallint"
    TEXT = "text"
    TIME = "time"
    TIMESTAMP = "timestamp"
    TIMEUUID = "timeuuid"
    TINYINT = "tinyint"
    UUID = "uuid"
    VARINT = "varint"

Enum to describe the scalar column types for Tables.

A 'scalar' type is a non-composite type: that means, no sets, lists, maps and other non-primitive data types.

Ancestors

Class variables

var ASCII

The type of the None singleton.

var BIGINT

The type of the None singleton.

var BLOB

The type of the None singleton.

var BOOLEAN

The type of the None singleton.

var COUNTER

The type of the None singleton.

var DATE

The type of the None singleton.

var DECIMAL

The type of the None singleton.

var DOUBLE

The type of the None singleton.

var DURATION

The type of the None singleton.

var FLOAT

The type of the None singleton.

var INET

The type of the None singleton.

var INT

The type of the None singleton.

var SMALLINT

The type of the None singleton.

var TEXT

The type of the None singleton.

var TIME

The type of the None singleton.

var TIMESTAMP

The type of the None singleton.

var TIMEUUID

The type of the None singleton.

var TINYINT

The type of the None singleton.

var UUID

The type of the None singleton.

var VARINT

The type of the None singleton.

Inherited members

class TableKeyValuedColumnType (*args, **kwds)
Expand source code
class TableKeyValuedColumnType(StrEnum):
    """
    An enum to describe the types of column with "keys and values".
    """

    MAP = "map"

An enum to describe the types of column with "keys and values".

Ancestors

Class variables

var MAP

The type of the None singleton.

Inherited members

class TablePassthroughColumnType (*args, **kwds)
Expand source code
class TablePassthroughColumnType(StrEnum):
    """
    An enum to describe the types for 'passthrough' columns (read/describe path).
    """

    PASSTHROUGH = "PASSTHROUGH"

An enum to describe the types for 'passthrough' columns (read/describe path).

Ancestors

Class variables

var PASSTHROUGH

The type of the None singleton.

Inherited members

class TableUDTColumnType (*args, **kwds)
Expand source code
class TableUDTColumnType(StrEnum):
    """
    An enum to describe the types of 'user-defined-type' (UDT) column.
    """

    USERDEFINED = "userDefined"

An enum to describe the types of 'user-defined-type' (UDT) column.

Ancestors

Class variables

var USERDEFINED

The type of the None singleton.

Inherited members

class TableUnsupportedColumnType (*args, **kwds)
Expand source code
class TableUnsupportedColumnType(StrEnum):
    """
    An enum to describe the types of column falling into the 'unsupported' group
    (read/describe path).
    """

    UNSUPPORTED = "UNSUPPORTED"

An enum to describe the types of column falling into the 'unsupported' group (read/describe path).

Ancestors

Class variables

var UNSUPPORTED

The type of the None singleton.

Inherited members

class TableValuedColumnType (*args, **kwds)
Expand source code
class TableValuedColumnType(StrEnum):
    """
    An enum to describe the types of column with "values".
    """

    LIST = "list"
    SET = "set"

An enum to describe the types of column with "values".

Ancestors

Class variables

var LIST

The type of the None singleton.

var SET

The type of the None singleton.

Inherited members

class TableVectorColumnType (*args, **kwds)
Expand source code
class TableVectorColumnType(StrEnum):
    """
    An enum to describe the types of 'vector-like' column.
    """

    VECTOR = "vector"

An enum to describe the types of 'vector-like' column.

Ancestors

Class variables

var VECTOR

The type of the None singleton.

Inherited members