Enum Class ArraySupport.Capability

java.lang.Object
java.lang.Enum<ArraySupport.Capability>
org.hibernate.dialect.array.spi.ArraySupport.Capability
All Implemented Interfaces:
Serializable, Comparable<ArraySupport.Capability>, Constable
Enclosing class:
ArraySupport

public static enum ArraySupport.Capability extends Enum<ArraySupport.Capability>
An independently configurable array-syntax capability.
Since:
8.0
  • Enum Constant Details

    • STANDARD_ARRAY

      public static final ArraySupport.Capability STANDARD_ARRAY
      ANSI element-type array declarations such as integer array and standard array literals.
    • ARRAY_CONSTRUCTOR

      public static final ArraySupport.Capability ARRAY_CONSTRUCTOR
      SQL array-constructor syntax used by recursive-CTE emulation.
  • Method Details

    • values

      public static ArraySupport.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 ArraySupport.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