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 typeof an array into the dialect-specific type.booleanReturns 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:ArrayColumnsReturns true if the dialect supports array-typed columns.- Specified by:
isSupportedin interfaceArrayColumns- Returns:
- true if the dialect supports array-typed columns.
-
getArrayType
Description copied from interface:ArrayColumnsTranslate theuser typeof an array into the dialect-specific type. This method considers only the component type.- Specified by:
getArrayTypein interfaceArrayColumns- Parameters:
userType- component type of the array.- Returns:
- the dialect-supported array type.
-