Enum Class JdbcArrayColumns.DefaultSupport

java.lang.Object
java.lang.Enum<JdbcArrayColumns.DefaultSupport>
org.springframework.data.jdbc.core.convert.JdbcArrayColumns.DefaultSupport
All Implemented Interfaces:
Serializable, Comparable<JdbcArrayColumns.DefaultSupport>, Constable, JdbcArrayColumns, ArrayColumns
Enclosing interface:
JdbcArrayColumns

public static enum JdbcArrayColumns.DefaultSupport extends Enum<JdbcArrayColumns.DefaultSupport> implements JdbcArrayColumns
Default ArrayColumns implementation for dialects that do not support array-typed columns.
  • Enum Constant Details

  • Method Details

    • values

      public static JdbcArrayColumns.DefaultSupport[] 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 JdbcArrayColumns.DefaultSupport 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
    • isSupported

      public boolean isSupported()
      Description copied from interface: ArrayColumns
      Returns true if the dialect supports array-typed columns.
      Specified by:
      isSupported in interface ArrayColumns
      Returns:
      true if the dialect supports array-typed columns.
    • getArrayTypeName

      public String getArrayTypeName(SQLType jdbcType)
      Description copied from interface: JdbcArrayColumns
      The appropriate SQL type as a String which should be used to represent the given SQLType in an Array. Defaults to the name of the argument.
      Specified by:
      getArrayTypeName in interface JdbcArrayColumns
      Parameters:
      jdbcType - the SQLType value representing the type that should be stored in the Array. Must not be null.
      Returns:
      the appropriate SQL type as a String which should be used to represent the given SQLType in an Array. Guaranteed to be not null.