Module org.jooq
Package org.jooq

Interface UDT<R extends UDTRecord<R>>

Type Parameters:
R - The record type
All Superinterfaces:
Fields, Named, Qualified, QueryPart, RecordQualifier<R>, Serializable
All Known Implementing Classes:
UDTImpl

public interface UDT<R extends UDTRecord<R>> extends RecordQualifier<R>
UDT definition.

Instances of this type cannot be created directly. They are available from generated code.

Author:
Lukas Eder
  • Method Details

    • isSQLUsable

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

      boolean isSynthetic()
      Whether this data type is a synthetic, structural UDT type.

      This is true for example:

      • For Oracle TAB%ROWTYPE references, which are synthetic PL/SQL RECORD types in PL/SQL.
    • getSupertype

      @Nullable @Nullable UDT<?> getSupertype()
      Get the supertype of this UDT, or null if this type has no supertype.
    • getSubtypes

      @NotNull @NotNull List<UDT<?>> getSubtypes()
      Get the subtypes of this UDT or an empty list, if there are no known subtypes.
    • isAssignableFrom

      boolean isAssignableFrom(UDT<?> other)
      Check if this type is a supertype or the same type as another UDT type.