Enum Class IndexType

java.lang.Object
java.lang.Enum<IndexType>
org.apache.sedona.core.enums.IndexType
All Implemented Interfaces:
Serializable, Comparable<IndexType>, java.lang.constant.Constable

public enum IndexType extends Enum<IndexType> implements Serializable
The Enum IndexType.
  • Enum Constant Details

    • QUADTREE

      public static final IndexType QUADTREE
      The quadtree.
    • RTREE

      public static final IndexType RTREE
      The rtree.
  • Method Details

    • values

      public static IndexType[] 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 IndexType 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
    • getIndexType

      public static IndexType getIndexType(String str)
      Gets the index type.
      Parameters:
      str - the str
      Returns:
      the index type