Enum Class IndexType

java.lang.Object
java.lang.Enum<IndexType>
org.iplass.mtp.entity.definition.IndexType
All Implemented Interfaces:
Serializable, Comparable<IndexType>, Constable

public enum IndexType extends Enum<IndexType>
Indexの種類。
  • Enum Constant Details

    • NON_INDEXED

      public static final IndexType NON_INDEXED
      インデックスなし
    • UNIQUE

      public static final IndexType UNIQUE
      ユニークインデックス
    • NON_UNIQUE

      public static final IndexType NON_UNIQUE
      非ユニークインデックス
    • UNIQUE_WITHOUT_NULL

      public static final IndexType UNIQUE_WITHOUT_NULL
      ユニークインデックス(ただしnullの重複は許可) ※UNIQUEとUNIQUE_WITHOUT_NULLの違いが反映されるのはDBがOracleの場合のみ
  • 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