Class ObjectArrayColumns

java.lang.Object
org.springframework.data.relational.core.dialect.ObjectArrayColumns
All Implemented Interfaces:
ArrayColumns

public class ObjectArrayColumns extends Object implements ArrayColumns
ArrayColumns support using the actual object type or boxed primitives Java types.
Since:
3.0
Author:
Mark Paluch
See Also:
  • Field Details

  • 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 interface ArrayColumns
      Returns:
      true if the dialect supports array-typed columns.
    • getArrayType

      public Class<?> getArrayType(Class<?> userType)
      Description copied from interface: ArrayColumns
      Translate the user type of an array into the dialect-specific type. This method considers only the component type.
      Specified by:
      getArrayType in interface ArrayColumns
      Parameters:
      userType - component type of the array.
      Returns:
      the dialect-supported array type.