Class H2Dialect.H2ArrayColumns

java.lang.Object
org.springframework.data.relational.core.dialect.H2Dialect.H2ArrayColumns
All Implemented Interfaces:
ArrayColumns
Enclosing class:
H2Dialect

protected static class H2Dialect.H2ArrayColumns extends Object implements ArrayColumns
Since:
2.0
Author:
Mark Paluch, Myeonghyeon Lee, Christph Strobl, Jens Schauder, Mikhail Polivakha
  • Field Details

  • Constructor Details

    • H2ArrayColumns

      protected H2ArrayColumns()
  • 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.