Enum Class TableIndexType.Type

java.lang.Object
java.lang.Enum<TableIndexType.Type>
com.ptsmods.mysqlw.table.TableIndexType.Type
All Implemented Interfaces:
Serializable, Comparable<TableIndexType.Type>, Constable
Enclosing class:
TableIndexType

public static enum TableIndexType.Type extends Enum<TableIndexType.Type>
  • Enum Constant Details

    • UNIQUE

      public static final TableIndexType.Type UNIQUE
      Each row must have a unique value for this column.
    • INDEX

      public static final TableIndexType.Type INDEX
      Used to speed up queries.
    • FULLTEXT

      public static final TableIndexType.Type FULLTEXT
      Allows you to match pieces of text against the value of this column. To match case-sensitively, have a look at BINARY.
    • SPATIAL

      public static final TableIndexType.Type SPATIAL
      Indexes for GEOMETRY objects.
  • Method Details

    • values

      public static TableIndexType.Type[] 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 TableIndexType.Type 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
    • toString

      public String toString(String name, String column)