Class PostgresDialect.PostgresArrayColumns
java.lang.Object
org.springframework.data.relational.core.dialect.PostgresDialect.PostgresArrayColumns
- All Implemented Interfaces:
ArrayColumns
- Enclosing class:
- PostgresDialect
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.data.relational.core.dialect.ArrayColumns
ArrayColumns.Unsupported
-
Constructor Summary
-
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.
-
Constructor Details
-
PostgresArrayColumns
protected PostgresArrayColumns()
-
-
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.
-