Package org.jooq.meta

Interface ArrayDefinition

All Superinterfaces:
Definition
All Known Implementing Classes:
DefaultArrayDefinition

public interface ArrayDefinition extends Definition
A definition for an ARRAY type
Author:
Lukas Eder
  • Method Details

    • getPackage

      PackageDefinition getPackage()
      The array's package. null if the UDT is not in a package
      Specified by:
      getPackage in interface Definition
      Returns:
      The package of this object or null if this object is not contained in a package.
    • getIndexType

      DataTypeDefinition getIndexType()
      Returns:
      The type of the ARRAY's index, or null if it's not an associative array.
    • getIndexType

      DataTypeDefinition getIndexType(JavaTypeResolver resolver)
      Returns:
      The type of the ARRAY's index, or null if it's not an associative array.
    • getElementType

      DataTypeDefinition getElementType()
      Returns:
      The type of the ARRAY's elements
    • getElementType

      DataTypeDefinition getElementType(JavaTypeResolver resolver)
      Returns:
      The type of the ARRAY's elements