Enum Class JdbcArrayColumns.Unsupported
java.lang.Object
java.lang.Enum<JdbcArrayColumns.Unsupported>
org.springframework.data.jdbc.core.convert.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.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface org.springframework.data.jdbc.core.convert.JdbcArrayColumns
JdbcArrayColumns.DefaultSupport, JdbcArrayColumns.Unsupported
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetArrayTypeName
(SQLType jdbcType) boolean
Returns true if the dialect supports array-typed columns.static JdbcArrayColumns.Unsupported
Returns the enum constant of this class with the specified name.static JdbcArrayColumns.Unsupported[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface org.springframework.data.jdbc.core.convert.JdbcArrayColumns
getArrayType
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException
- 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 interfaceArrayColumns
- Returns:
- true if the dialect supports array-typed columns.
-
getArrayTypeName
Description copied from interface:JdbcArrayColumns
The appropriate SQL type as a String which should be used to represent the givenSQLType
in anArray
. Defaults to the name of the argument.- Specified by:
getArrayTypeName
in interfaceJdbcArrayColumns
- Parameters:
jdbcType
- theSQLType
value representing the type that should be stored in theArray
. Must not be null.- Returns:
- the appropriate SQL type as a String which should be used to represent the given
SQLType
in anArray
. Guaranteed to be not null.
-