Class H2Dialect.H2ArrayColumns
java.lang.Object
org.springframework.data.relational.core.dialect.H2Dialect.H2ArrayColumns
- All Implemented Interfaces:
ArrayColumns
- Enclosing class:
H2Dialect
- Since:
- 2.0
- Author:
- Mark Paluch, Myeonghyeon Lee, Christph Strobl, Jens Schauder, Mikhail Polivakha
-
Nested Class Summary
Nested classes/interfaces inherited from interface 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
-
H2ArrayColumns
protected H2ArrayColumns()
-
-
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.
-