Package org.apache.gravitino.rel.types
Enum Class Type.Name
- All Implemented Interfaces:
Serializable,Comparable<Type.Name>,Constable
- Enclosing interface:
- Type
The root type name of this type.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe binary type with variable length.The boolean type.The byte type.The date type.The decimal type.The double type.The external type.The binary type with fixed lengthThe char type with fixed lengthThe float type.The integer type.The interval month type.The interval year type.The list type.The long type.The map type.The null type.The short type.The interval day type.The struct type.The time type.The timestamp type.The union type.The unparsed type.The UUID type.The varchar type. -
Method Summary
-
Enum Constant Details
-
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 month type. -
STRING
The interval day 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. The length is specified in the type itself. -
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. -
LIST
The list type. A list type is a complex type that contains a set of elements, each with the same type. -
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. -
UNION
The union type. A union type is a complex type that contains a set of types. -
NULL
The null type. A null type represents a value that is null. -
UNPARSED
The unparsed type. An unparsed type represents an unresolvable type. -
EXTERNAL
The external type. An external type represents a type that is not supported by Gravitino.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-