Module org.jooq
Package org.jooq

Interface UDTPathField<R extends Record,U extends UDTRecord<U>,T>

Type Parameters:
R - The record type
T - The field type
All Superinterfaces:
Field<T>, FieldOrConstraint, FieldOrRow, FieldOrRowOrSelect, GroupField, Named, OrderField<T>, QueryPart, SelectField<T>, SelectFieldOrAsterisk, Serializable, TableElement, Typed<T>, UDTField<U,T>
All Known Subinterfaces:
UDTPathTableField<R,U,T>
All Known Implementing Classes:
UDTPathFieldImpl, UDTPathTableFieldImpl

public interface UDTPathField<R extends Record,U extends UDTRecord<U>,T> extends UDTField<U,T>
A field dereferenced from a UDT path.

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

Author:
Lukas Eder
  • Method Details

    • getTableField

      @Nullable @Nullable UDTPathTableField<?,?,?> getTableField()
      Get the TableField reference on this UDT path.

      While this currently returns non-null values only, as there's always a UDTPathTableField on the path, there might not be in the future, e.g. when a UDT path is based on a UDT constructor or UDT returning function, which jOOQ currently does not yet support.

    • getQualifier

      @NotNull @NotNull RecordQualifier<R> getQualifier()
      Returns:
      The UDT path this field is contained in.
    • asQualifier

      @NotNull @NotNull RecordQualifier<U> asQualifier()
      Returns:
      The UDT path represented by this field.