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, 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:
- 2.3
- Author:
- Jens Schauder, Mark Paluch
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>Nested classes/interfaces inherited from interface JdbcArrayColumns
JdbcArrayColumns.DefaultSupport, JdbcArrayColumns.Unsupported -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetArrayTypeName(SQLType jdbcType) booleanstatic JdbcArrayColumns.UnsupportedReturns 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 Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface JdbcArrayColumns
getArrayType, getSqlType
-
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()- Specified by:
isSupportedin interfaceArrayColumns
-
getArrayTypeName
Description copied from interface:JdbcArrayColumnsThe appropriate SQL type as a String which should be used to represent the givenSQLTypein anArray. Defaults to the name of the argument.- Specified by:
getArrayTypeNamein interfaceJdbcArrayColumns- Specified by:
getArrayTypeNamein interfaceJdbcArrayColumns- Parameters:
jdbcType- theSQLTypevalue 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
SQLTypein anArray. Guaranteed to be not null.
-