Enum SqlMethod

java.lang.Object
java.lang.Enum<SqlMethod>
com.github.yulichang.method.SqlMethod
All Implemented Interfaces:
Serializable, Comparable<SqlMethod>, java.lang.constant.Constable

public enum SqlMethod extends Enum<SqlMethod>
Since:
2021/1/15
Author:
yulichang
See Also:
  • SqlMethod
  • Enum Constant Details

    • SELECT_JOIN_COUNT

      public static final SqlMethod SELECT_JOIN_COUNT
      连表查询
    • SELECT_JOIN_ONE

      public static final SqlMethod SELECT_JOIN_ONE
    • SELECT_JOIN_LIST

      public static final SqlMethod SELECT_JOIN_LIST
    • SELECT_JOIN_PAGE

      public static final SqlMethod SELECT_JOIN_PAGE
    • DELETE_JOIN

      public static final SqlMethod DELETE_JOIN
      连表删除
    • LOGIC_DELETE_JOIN

      public static final SqlMethod LOGIC_DELETE_JOIN
      连表逻辑删除
    • UPDATE_JOIN

      public static final SqlMethod UPDATE_JOIN
      连表更新
    • UPDATE_JOIN_AND_NULL

      public static final SqlMethod UPDATE_JOIN_AND_NULL
      连表逻辑更新 (会更新null字段)
  • Field Details

    • collect

      public static final List<String> collect
  • Method Details

    • values

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