Enum Class SqlKind

java.lang.Object
java.lang.Enum<SqlKind>
org.seasar.doma.jdbc.SqlKind
All Implemented Interfaces:
Serializable, Comparable<SqlKind>, Constable

public enum SqlKind extends Enum<SqlKind>
Defines the types of SQL operations supported by the Doma framework.

This enum categorizes SQL statements by their operation type (SELECT, INSERT, UPDATE, etc.) and execution mode (single, batch, or multi-row).

See Also:
  • Enum Constant Details

    • SELECT

      public static final SqlKind SELECT
      select
    • INSERT

      public static final SqlKind INSERT
      insert
    • UPDATE

      public static final SqlKind UPDATE
      update
    • DELETE

      public static final SqlKind DELETE
      delete
    • BATCH_INSERT

      public static final SqlKind BATCH_INSERT
      batch insert
    • BATCH_UPDATE

      public static final SqlKind BATCH_UPDATE
      batch update
    • BATCH_DELETE

      public static final SqlKind BATCH_DELETE
      batch delete
    • MULTI_INSERT

      public static final SqlKind MULTI_INSERT
      multi-row insert
    • PROCEDURE

      public static final SqlKind PROCEDURE
      stored procedure
    • FUNCTION

      public static final SqlKind FUNCTION
      stored function
    • SCRIPT

      public static final SqlKind SCRIPT
      script
    • SQL_PROCESSOR

      public static final SqlKind SQL_PROCESSOR
      sql processor
  • Method Details

    • values

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