Enum Class ArrayColumns.Unsupported
java.lang.Object
java.lang.Enum<ArrayColumns.Unsupported>
org.springframework.data.relational.core.dialect.ArrayColumns.Unsupported
- All Implemented Interfaces:
Serializable
,Comparable<ArrayColumns.Unsupported>
,Constable
,ArrayColumns
- Enclosing interface:
- ArrayColumns
public static enum ArrayColumns.Unsupported
extends Enum<ArrayColumns.Unsupported>
implements ArrayColumns
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.relational.core.dialect.ArrayColumns
ArrayColumns.Unsupported
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionClass<?>
getArrayType
(Class<?> userType) Translate theuser type
of an array into the dialect-specific type.boolean
Returns true if the dialect supports array-typed columns.static ArrayColumns.Unsupported
Returns the enum constant of this class with the specified name.static ArrayColumns.Unsupported[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
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.
-
getArrayType
Description copied from interface:ArrayColumns
Translate theuser type
of an array into the dialect-specific type. This method considers only the component type.- Specified by:
getArrayType
in interfaceArrayColumns
- Parameters:
userType
- component type of the array.- Returns:
- the dialect-supported array type.
-