Enum Class GeometryType

java.lang.Object
java.lang.Enum<GeometryType>
io.trino.geospatial.GeometryType
All Implemented Interfaces:
Serializable, Comparable<GeometryType>, Constable

public enum GeometryType extends Enum<GeometryType>
  • Enum Constant Details

    • POINT

      public static final GeometryType POINT
    • MULTI_POINT

      public static final GeometryType MULTI_POINT
    • LINE_STRING

      public static final GeometryType LINE_STRING
    • MULTI_LINE_STRING

      public static final GeometryType MULTI_LINE_STRING
    • POLYGON

      public static final GeometryType POLYGON
    • MULTI_POLYGON

      public static final GeometryType MULTI_POLYGON
    • GEOMETRY_COLLECTION

      public static final GeometryType GEOMETRY_COLLECTION
  • Method Details

    • values

      public static GeometryType[] 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 GeometryType 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
    • isMultitype

      public boolean isMultitype()
    • standardName

      public io.airlift.slice.Slice standardName()
    • getForEsriGeometryType

      public static GeometryType getForEsriGeometryType(String type)
    • getForJtsGeometryType

      public static GeometryType getForJtsGeometryType(String type)