Enum Class TableType

java.lang.Object
java.lang.Enum<TableType>
me.axolotl.api.sql.enumerate.TableType
All Implemented Interfaces:
Serializable, Comparable<TableType>, Constable

public enum TableType extends Enum<TableType>
TableType枚舉表示數據庫表列的數據類型。
Since:
2024-02-24
  • Enum Constant Details

    • CHAR

      public static final TableType CHAR
      字符類型。
    • VARCHAR

      public static final TableType VARCHAR
      變長字符類型。
    • TEXT

      public static final TableType TEXT
      文本類型。
    • INT

      public static final TableType INT
      整數類型。
    • BIGINT

      public static final TableType BIGINT
      大整數類型。
    • DECIMAL

      public static final TableType DECIMAL
      十進制類型。
    • DATE

      public static final TableType DATE
      日期類型。
    • TIME

      public static final TableType TIME
      時間類型。
    • TIMESTAMP

      public static final TableType TIMESTAMP
      時間戳類型。
    • BINARY

      public static final TableType BINARY
      二進制類型。
    • VARBINARY

      public static final TableType VARBINARY
      變長二進制類型。
    • BLOB

      public static final TableType BLOB
      二進制大對象類型。
    • BOOLEAN

      public static final TableType BOOLEAN
      布林類型。
  • Method Details

    • values

      public static TableType[] 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 TableType 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