Enum Class ArrayColumns.Unsupported

java.lang.Object
java.lang.Enum<ArrayColumns.Unsupported>
org.springframework.data.relational.core.dialect.ArrayColumns.Unsupported
All Implemented Interfaces:
Serializable, Comparable<ArrayColumns.Unsupported>, Constable, ArrayColumns
Enclosing interface:
ArrayColumns

public static enum ArrayColumns.Unsupported extends Enum<ArrayColumns.Unsupported> implements ArrayColumns
Default ArrayColumns implementation for dialects that do not support array-typed columns.
  • Enum Constant Details

  • Method Details

    • values

      public static ArrayColumns.Unsupported[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ArrayColumns.Unsupported valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • 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.