Enum Class Capability

java.lang.Object
java.lang.Enum<Capability>
io.github.torand.fastersql.dialect.Capability
All Implemented Interfaces:
Serializable, Comparable<Capability>, Constable

public enum Capability extends Enum<Capability>
Defines capabilities of an SQL dialect.
  • Enum Constant Details

    • LIMIT_OFFSET

      public static final Capability LIMIT_OFFSET
      Supports row limiting clauses
    • ROW_NUM

      public static final Capability ROW_NUM
      Supports a row number literal or function
    • CONCAT_OPERATOR

      public static final Capability CONCAT_OPERATOR
      Supports a string concatenation infix operator
    • MODULO_OPERATOR

      public static final Capability MODULO_OPERATOR
      Supports a numeric modulo infix operator
    • CURRENT_TIME

      public static final Capability CURRENT_TIME
      Supports a current time literal or function
    • NULL_ORDERING

      public static final Capability NULL_ORDERING
      Supports "nulls First" and "nulls last" for NULL ordering
    • SELECT_FOR_UPDATE

      public static final Capability SELECT_FOR_UPDATE
      Supports "SELECT ... FOR UPDATE" clauses
    • TRUNCATE_TABLE

      public static final Capability TRUNCATE_TABLE
      Supports "TRUNCATE TABLE..." clauses
  • Method Details

    • values

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