Enum Class TableIndex.Type

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

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

    • UNIQUE

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

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

      public static final TableIndex.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 TableIndex.Type SPATIAL
      Indices for GEOMETRY objects.
  • Method Details

    • values

      public static TableIndex.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 TableIndex.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, boolean includeColumn)