- All Superinterfaces:
QueryPart
,SelectFieldOrAsterisk
,Serializable
Asterisks (qualified and unqualified) are expressions that can be used
exclusively in SELECT
clauses and a few other clauses that
explicitly allow for asterisks, including RETURNING
on DML
statements. Asterisks are syntax sugar in SQL, which are expanded to a column
list by the parser once all the columns in the FROM
clause are
known.
Example:
// Assuming import static org.jooq.impl.DSL.*;
using(configuration)
.select(ACTOR.asterisk())
.from(ACTOR)
.fetch();
Instances can be created using Table.asterisk()
.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescription@NotNull QOM.UnmodifiableList<? extends Field<?>>
$except()
Experimental query object model accessor method, see alsoQOM
.@NotNull Table<?>
$table()
Experimental query object model accessor method, see alsoQOM
.@NotNull QualifiedAsterisk
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.@NotNull QualifiedAsterisk
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.@NotNull QualifiedAsterisk
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.@NotNull Table<?>
The qualifier.
-
Method Details
-
qualifier
The qualifier. -
except
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.This expression is a convenient way to select "all but some fields". Some dialects (e.g.
SQLDialect.H2
) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible. -
except
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.This expression is a convenient way to select "all but some fields". Some dialects (e.g.
SQLDialect.H2
) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible. -
except
The qualified asterisk (t.* EXCEPT (fields)
) expression to be used inSELECT
clauses.This expression is a convenient way to select "all but some fields". Some dialects (e.g.
SQLDialect.H2
) implement this feature natively. In other dialects, jOOQ expands the asterisk if possible. -
$table
Experimental query object model accessor method, see alsoQOM
. Subject to change in future jOOQ versions, use at your own risk. -
$except
Experimental query object model accessor method, see alsoQOM
. Subject to change in future jOOQ versions, use at your own risk.
-