Enum Class JdbcArrayColumns.Unsupported

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

public static enum JdbcArrayColumns.Unsupported extends Enum<JdbcArrayColumns.Unsupported> implements JdbcArrayColumns
Default ArrayColumns implementation for dialects that do not support array-typed columns.
Since:
3.5
Author:
Jens Schauder, Mark Paluch
  • Enum Constant Details

  • Method Details

    • values

      public static JdbcArrayColumns.Unsupported[] 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.Unsupported 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()
      Specified by:
      isSupported in interface ArrayColumns
    • 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.