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
The boolean type.
The byte type.
The short type.
The integer type.
The long type.
The float type.
The double type.
The decimal type.
The date type.
The time type.
The timestamp type.
The interval year type.
The interval day type.
The string type.
The varchar type.
The char type with fixed length.
The UUID type.
The binary type with fixed length.
The binary type with variable length.
The struct type.
The list type.
The map type.
The union type.
The null type.
The unparsed type.
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.