Class Types.UnparsedType

java.lang.Object
org.apache.gravitino.rel.types.Types.UnparsedType
All Implemented Interfaces:
Type
Enclosing class:
Types

public static class Types.UnparsedType extends Object implements Type
Represents a type that is not parsed yet. The parsed type is represented by other types of Types.
  • Method Details

    • of

      public static Types.UnparsedType of(String unparsedType)
      Creates a new Types.UnparsedType with the given unparsed type.
      Parameters:
      unparsedType - The unparsed type.
      Returns:
      A new Types.UnparsedType with the given unparsed type.
    • unparsedType

      public String unparsedType()
      Returns:
      The unparsed type as a string.
    • name

      public Type.Name name()
      Specified by:
      name in interface Type
      Returns:
      The generic name of the type.
    • simpleString

      public String simpleString()
      Specified by:
      simpleString in interface Type
      Returns:
      A readable string representation for the type.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object