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.
Example:
// Assuming import static org.jooq.impl.DSL.*;
Table<?> t = name("t").fields("v").as(select(one()));
// ^^^^^^^^^^^^^^^^^^^^^ -- DerivedColumnList
using(configuration)
.select()
.from(t)
.fetch();
Instances can be created using Name#fields(String. and overloads.
| Modifier and Type | Method and Description |
|---|---|
| public <R extends Record22 | as(ResultQuery<R> query)
Specify a subselect to refer to by the |
| public <R extends Record22 | asMaterialized(ResultQuery<R> query)
Specify a materialized subselect to refer to by the
|
| public <R extends Record22 | asNotMaterialized(ResultQuery<R> query)
Specify a non-materialized subselect to refer to by the
|
| as | back to summary |
|---|---|
| public <R extends Record22 Specify a subselect to refer to by the | |
| asMaterialized | back to summary |
|---|---|
| public <R extends Record22 Specify a materialized subselect to refer to by the
This adds the PostgreSQL 12 | |
| asNotMaterialized | back to summary |
|---|---|
| public <R extends Record22 Specify a non-materialized subselect to refer to by the
This adds the PostgreSQL 12 | |