Enum Class Type.Name

java.lang.Object
java.lang.Enum<Type.Name>
org.apache.gravitino.rel.types.Type.Name
All Implemented Interfaces:
Serializable, Comparable<Type.Name>, Constable
Enclosing interface:
Type

public static enum Type.Name extends Enum<Type.Name>
The root type name of this type.
  • Enum Constant Details

    • BOOLEAN

      public static final Type.Name BOOLEAN
      The boolean type.
    • BYTE

      public static final Type.Name BYTE
      The byte type.
    • SHORT

      public static final Type.Name SHORT
      The short type.
    • INTEGER

      public static final Type.Name INTEGER
      The integer type.
    • LONG

      public static final Type.Name LONG
      The long type.
    • FLOAT

      public static final Type.Name FLOAT
      The float type.
    • DOUBLE

      public static final Type.Name DOUBLE
      The double type.
    • DECIMAL

      public static final Type.Name DECIMAL
      The decimal type.
    • DATE

      public static final Type.Name DATE
      The date type.
    • TIME

      public static final Type.Name TIME
      The time type.
    • TIMESTAMP

      public static final Type.Name TIMESTAMP
      The timestamp type.
    • INTERVAL_YEAR

      public static final Type.Name INTERVAL_YEAR
      The interval year type.
    • INTERVAL_DAY

      public static final Type.Name INTERVAL_DAY
      The interval month type.
    • STRING

      public static final Type.Name STRING
      The interval day type.
    • VARCHAR

      public static final Type.Name VARCHAR
      The varchar type.
    • FIXEDCHAR

      public static final Type.Name FIXEDCHAR
      The char type with fixed length
    • UUID

      public static final Type.Name UUID
      The UUID type.
    • FIXED

      public static final Type.Name FIXED
      The binary type with fixed length
    • BINARY

      public static final Type.Name BINARY
      The binary type with variable length. The length is specified in the type itself.
    • STRUCT

      public static final Type.Name 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

      public static final Type.Name LIST
      The list type. A list type is a complex type that contains a set of elements, each with the same type.
    • MAP

      public static final Type.Name 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

      public static final Type.Name UNION
      The union type. A union type is a complex type that contains a set of types.
    • NULL

      public static final Type.Name NULL
      The null type. A null type represents a value that is null.
    • UNPARSED

      public static final Type.Name UNPARSED
      The unparsed type. An unparsed type represents an unresolvable type.
    • EXTERNAL

      public static final Type.Name EXTERNAL
      The external type. An external type represents a type that is not supported by Gravitino.
  • Method Details

    • values

      public static Type.Name[] 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

      public static Type.Name valueOf(String name)
      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 name
      NullPointerException - if the argument is null