gravitino.api.types.type.Name

class gravitino.api.types.type.Name(value)

Bases: Enum

The root type name of this type, representing all data types supported.

__init__()

Attributes

BOOLEAN

The boolean type.

BYTE

The byte type.

SHORT

The short type.

INTEGER

The integer type.

LONG

The long type.

FLOAT

The float type.

DOUBLE

The double type.

DECIMAL

The decimal type.

DATE

The date type.

TIME

The time type.

TIMESTAMP

The timestamp type.

INTERVAL_YEAR

The interval year type.

INTERVAL_DAY

The interval day type.

STRING

The string type.

VARCHAR

The varchar type.

FIXEDCHAR

The char type with fixed length.

UUID

The UUID type.

FIXED

The binary type with fixed length.

BINARY

The binary type with variable length.

STRUCT

The struct type.

LIST

The list type.

MAP

The map type.

UNION

The union type.

NULL

The null type.

UNPARSED

The unparsed type.

EXTERNAL

The external type.

BINARY = 'BINARY'

The binary type with variable length. The length is specified in the type itself.

BOOLEAN = 'BOOLEAN'

The boolean type.

BYTE = 'BYTE'

The byte type.

DATE = 'DATE'

The date type.

DECIMAL = 'DECIMAL'

The decimal type.

DOUBLE = 'DOUBLE'

The double type.

EXTERNAL = 'EXTERNAL'

The external type. An external type represents a type that is not supported.

FIXED = 'FIXED'

The binary type with fixed length.

FIXEDCHAR = 'FIXEDCHAR'

The char type with fixed length.

FLOAT = 'FLOAT'

The float type.

INTEGER = 'INTEGER'

The integer type.

INTERVAL_DAY = 'INTERVAL_DAY'

The interval day type.

INTERVAL_YEAR = 'INTERVAL_YEAR'

The interval year type.

LIST = 'LIST'

The list type. A list type is a complex type that contains a set of elements, each with the same type.

LONG = 'LONG'

The long type.

MAP = 'MAP'

The map type. A map type is a complex type that contains a set of key-value pairs, each with a key type and a value type.

NULL = 'NULL'

The null type. A null type represents a value that is null.

SHORT = 'SHORT'

The short type.

STRING = 'STRING'

The string type.

STRUCT = 'STRUCT'

The struct type. A struct type is a complex type that contains a set of named fields, each with a type, and optionally a comment.

TIME = 'TIME'

The time type.

TIMESTAMP = 'TIMESTAMP'

The timestamp type.

UNION = 'UNION'

The union type. A union type is a complex type that contains a set of types.

UNPARSED = 'UNPARSED'

The unparsed type. An unparsed type represents an unresolvable type.

UUID = 'UUID'

The UUID type.

VARCHAR = 'VARCHAR'

The varchar type.