Module org.jooq
Package org.jooq

Interface DerivedColumnList4

  • All Superinterfaces:
    QueryPart, Serializable

    public interface DerivedColumnList4
    extends QueryPart
    A derived column list.

    Thist type models a table name and an optional "derived column list", which can be used to name both tables and columns in one go, e.g. when aliasing a derived table or a CommonTableExpression.


     // Assuming import static org.jooq.impl.DSL.*;
     Table<?> t = name("t").fields("v").as(select(one()));
     //           ^^^^^^^^^^^^^^^^^^^^^ -- DerivedColumnList

    Instances can be created using Name.fields(String...) and overloads.

    Lukas Eder