Top Description Methods
org.jooq

public Interface CommonTableExpression<R extends org.jooq.Record>

extends Table<R extends Record>
Known Direct Implementers
org.jooq.impl.CommonTableExpressionImpl
Imports
org.jooq.impl.QOM, .QOM.Materialized, org.jetbrains.annotations.NotNull, .Nullable, .ApiStatus.Experimental

A common table expression.

A common table expression is a table that can be supplied to WITH clauses. It may or may not be defined recursively.

Example:


// Assuming import static org.jooq.impl.DSL.*;

Table<?> t = name("t").fields("v").as(select(one()));

using(configuration)
   .select()
   .from(t)
   .fetch();

Instances can be created using Name#as(Select).

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull DerivedColumnList
$derivedColumnList()

Experimental query object model accessor method, see also QOM.

public @Nullable QOM.Materialized
$materialized()

Experimental query object model accessor method, see also QOM.

public @NotNull ResultQuery<R>
$query()

Experimental query object model accessor method, see also QOM.

Inherited from org.jooq.Table:
asasasasasasasasasasasasasasasasteriskcrossApplycrossApplycrossApplycrossApplycrossApplycrossApplycrossJoincrossJoincrossJoincrossJoincrossJoincrossJoindivideByeqequalequalsforceIndexforceIndexForGroupByforceIndexForJoinforceIndexForOrderByfromfullJoinfullJoinfullJoinfullJoinfullJoinfullJoinfullOuterJoinfullOuterJoinfullOuterJoinfullOuterJoinfullOuterJoinfullOuterJoingetChecksgetIdentitygetIndexesgetKeysgetOptionsgetPrimaryKeygetRecordTimestampgetRecordVersiongetReferencesgetReferencesFromgetReferencesTogetTableTypegetUniqueKeysignoreIndexignoreIndexForGroupByignoreIndexForJoinignoreIndexForOrderByinnerJoininnerJoininnerJoininnerJoininnerJoininnerJoinjoinjoinjoinjoinjoinjoinjoinleftAntiJoinleftJoinleftJoinleftJoinleftJoinleftJoinleftJoinleftOuterJoinleftOuterJoinleftOuterJoinleftOuterJoinleftOuterJoinleftOuterJoinleftSemiJoinnaturalFullOuterJoinnaturalFullOuterJoinnaturalFullOuterJoinnaturalFullOuterJoinnaturalFullOuterJoinnaturalFullOuterJoinnaturalJoinnaturalJoinnaturalJoinnaturalJoinnaturalJoinnaturalJoinnaturalLeftOuterJoinnaturalLeftOuterJoinnaturalLeftOuterJoinnaturalLeftOuterJoinnaturalLeftOuterJoinnaturalLeftOuterJoinnaturalRightOuterJoinnaturalRightOuterJoinnaturalRightOuterJoinnaturalRightOuterJoinnaturalRightOuterJoinnaturalRightOuterJoinnenotEqualouterApplyouterApplyouterApplyouterApplyouterApplyouterApplyrecordTyperightJoinrightJoinrightJoinrightJoinrightJoinrightJoinrightOuterJoinrightOuterJoinrightOuterJoinrightOuterJoinrightOuterJoinrightOuterJoinrowidstraightJoinstraightJoinstraightJoinstraightJoinstraightJoinstraightJoinuseIndexuseIndexForGroupByuseIndexForJoinuseIndexForOrderBywherewherewherewherewherewherewherewherewhereExistswhereNotExistswithOrdinality

Method Detail

$derivedColumnListback to summary
public @NotNull DerivedColumnList $derivedColumnList()

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Experimental
@NotNull
$materializedback to summary
public @Nullable QOM.Materialized $materialized()

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Experimental
@Nullable
$queryback to summary
public @NotNull ResultQuery<R> $query()

Experimental query object model accessor method, see also QOM. Subject to change in future jOOQ versions, use at your own risk.

Annotations
@Experimental
@NotNull