Module org.jooq
Package org.jooq

Interface ArrayRecord<E>

Type Parameters:
E - The array element type
All Superinterfaces:
Attachable, Collection<E>, Iterable<E>, List<E>, Serializable
All Known Implementing Classes:
ArrayRecordImpl

@Pro public interface ArrayRecord<E> extends Attachable, List<E>
A "record" that encapsulates an Oracle-style ARRAY (or VARRAY), additionally providing some convenience methods.
Author:
Lukas Eder
  • Method Details

    • get

      @Deprecated(forRemoval=true, since="3.7") E[] get()
      Deprecated, for removal: This API element is subject to removal in a future version.
      - 3.7.0 - [#4566] - Use List.toArray() instead.
      Get the contained array.
    • getList

      @Deprecated(forRemoval=true, since="3.7") List<E> getList()
      Deprecated, for removal: This API element is subject to removal in a future version.
      - 3.7.0 - [#4566] - ArrayRecord already extends List. There is no need to call this any more.
      Get the contained array as a List.
    • set

      @Deprecated(forRemoval=true, since="3.7") void set(E... array)
      Deprecated, for removal: This API element is subject to removal in a future version.
      - 3.7.0 - [#4566] - Use List methods instead.
      Set the contained array.
    • set

      @Deprecated(forRemoval=true, since="3.7") void set(Collection<? extends E> list)
      Deprecated, for removal: This API element is subject to removal in a future version.
      - 3.7.0 - [#4566] - Use List methods instead.
      Set the contained array as a List.
    • getCatalog

      Catalog getCatalog()
      Get the record type's catalog.
    • getSchema

      Schema getSchema()
      Get the record type's schema.
    • getPackage

      Package getPackage()
      Get the UDT package.
    • getName

      String getName()
      Get the unqualified name of the array type.
    • getDataType

      DataType<E> getDataType()
      Get the data type of the array's base type.
    • getArrayType

      DataType<?> getArrayType()
      Get the data type of the array.
    • isSQLUsable

      boolean isSQLUsable()
      Whether this data type can be used from SQL statements.