java.lang.Object
java.lang.Enum<MySQLStatusFlag>
org.apache.shardingsphere.db.protocol.mysql.constant.MySQLStatusFlag
All Implemented Interfaces:
Serializable, Comparable<MySQLStatusFlag>, java.lang.constant.Constable

public enum MySQLStatusFlag extends Enum<MySQLStatusFlag>
Status flags are a bit-field for MySQL.
See Also:
  • Enum Constant Details

    • SERVER_STATUS_IN_TRANS

      public static final MySQLStatusFlag SERVER_STATUS_IN_TRANS
    • SERVER_STATUS_AUTOCOMMIT

      public static final MySQLStatusFlag SERVER_STATUS_AUTOCOMMIT
    • SERVER_MORE_RESULTS_EXISTS

      public static final MySQLStatusFlag SERVER_MORE_RESULTS_EXISTS
    • SERVER_STATUS_NO_GOOD_INDEX_USED

      public static final MySQLStatusFlag SERVER_STATUS_NO_GOOD_INDEX_USED
    • SERVER_STATUS_NO_INDEX_USED

      public static final MySQLStatusFlag SERVER_STATUS_NO_INDEX_USED
    • SERVER_STATUS_CURSOR_EXISTS

      public static final MySQLStatusFlag SERVER_STATUS_CURSOR_EXISTS
    • SERVER_STATUS_LAST_ROW_SENT

      public static final MySQLStatusFlag SERVER_STATUS_LAST_ROW_SENT
    • SERVER_STATUS_DB_DROPPED

      public static final MySQLStatusFlag SERVER_STATUS_DB_DROPPED
    • SERVER_STATUS_NO_BACKSLASH_ESCAPES

      public static final MySQLStatusFlag SERVER_STATUS_NO_BACKSLASH_ESCAPES
    • SERVER_STATUS_METADATA_CHANGED

      public static final MySQLStatusFlag SERVER_STATUS_METADATA_CHANGED
    • SERVER_QUERY_WAS_SLOW

      public static final MySQLStatusFlag SERVER_QUERY_WAS_SLOW
    • SERVER_PS_OUT_PARAMS

      public static final MySQLStatusFlag SERVER_PS_OUT_PARAMS
    • SERVER_STATUS_IN_TRANS_READONLY

      public static final MySQLStatusFlag SERVER_STATUS_IN_TRANS_READONLY
    • SERVER_SESSION_STATE_CHANGED

      public static final MySQLStatusFlag SERVER_SESSION_STATE_CHANGED
  • Method Details

    • values

      public static MySQLStatusFlag[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MySQLStatusFlag valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • valueOf

      public static MySQLStatusFlag valueOf(int value)
      Value of MySQL status flag.
      Parameters:
      value - value
      Returns:
      MySQL status flag