Class ObjectArrayColumns
java.lang.Object
org.springframework.data.relational.core.dialect.ObjectArrayColumns
- All Implemented Interfaces:
ArrayColumns
ArrayColumns
support using the actual object type or boxed primitives
Java types.- Since:
- 3.0
- Author:
- Mark Paluch
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.relational.core.dialect.ArrayColumns
ArrayColumns.Unsupported
-
Field Summary
Fields -
Constructor Summary
Constructors -
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.
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ObjectArrayColumns
public ObjectArrayColumns()
-
-
Method Details
-
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.
-