Class Types.ExternalType

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

public static class Types.ExternalType extends Object implements Type
Represents a type that is defined in an external catalog.
  • Method Details

    • of

      public static Types.ExternalType of(String catalogString)
      Creates a new Types.ExternalType with the given catalog string.
      Parameters:
      catalogString - The string representation of this type in the catalog.
      Returns:
      A new Types.ExternalType with the given catalog string.
    • catalogString

      public String catalogString()
      Returns:
      The string representation of this type in external catalog.
    • 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