Interface TablePathField<R extends Record, U extends TableRecord<U>, T>

Type Parameters:
R - The record type of the qualifier
U - The table record type of the path
T - The field type
All Superinterfaces:
Field<T>, FieldOrConstraint, FieldOrRow, FieldOrRowOrSelect, GroupField, Named, OrderField<T>, QueryPart, SelectField<T>, SelectFieldOrAsterisk, Serializable, TableElement, Typed<T>
All Known Subinterfaces:
TablePathTableField<R,U,T>
All Known Implementing Classes:
TablePathFieldImpl, TablePathTableFieldImpl

public interface TablePathField<R extends Record, U extends TableRecord<U>, T> extends Field<T>
A field dereferenced from a table path, i.e. from a table's row type that is used as a column or attribute type, e.g. in SQLDialect.POSTGRES.

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

Author:
Lukas Eder
  • Method Details

    • getQualifier

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

      @NotNull @NotNull RecordQualifier<U> asQualifier()
      Returns:
      The path as an expression that can be further dereferenced.