Top Description Methods
org.jooq

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

Known Direct Implementers
org.jooq.impl.CreateViewImpl
Static Imports
org.jooq.SQLDialect.CUBRID, .SQLDialect.DERBY, .SQLDialect.FIREBIRD, .SQLDialect.H2, .SQLDialect.HSQLDB, .SQLDialect.MARIADB, .SQLDialect.MYSQL, .SQLDialect.POSTGRES, .SQLDialect.SQLITE, .SQLDialect.YUGABYTEDB

A Query that can create views.

Referencing XYZ*Step types directly from client code

It is usually not recommended to reference any XYZ*Step types directly from client code, or assign them to local variables. When writing dynamic SQL, creating a statement's components dynamically, and passing them to the DSL API statically is usually a better choice. See the manual's section about dynamic SQL for details: https://www.jooq.org/doc/latest/manual/sql-building/dynamic-sql.

Drawbacks of referencing the XYZ*Step types directly:

Author
Lukas Eder

Method Summary

Modifier and TypeMethod and Description
public @NotNull CreateViewFinalStep
as(Select<? extends R> select)

Deprecated as a consequence of CreateViewFinalStep being deprecated.
Add an AS clause to the CREATE VIEW statement.
public @NotNull CreateViewFinalStep
as(SQL
The SQL
sql
)

Deprecated as a consequence of CreateViewFinalStep being deprecated.
Add an AS clause to the CREATE VIEW statement.
public @NotNull CreateViewFinalStep
as(String
The SQL
sql
)

Deprecated as a consequence of CreateViewFinalStep being deprecated.
Add an AS clause to the CREATE VIEW statement.
public @NotNull CreateViewFinalStep
as(String
The SQL
sql
,
Object... bindings)

Deprecated as a consequence of CreateViewFinalStep being deprecated.
Add an AS clause to the CREATE VIEW statement.
public @NotNull CreateViewFinalStep
as(String
The SQL
sql
,
QueryPart... parts)

Deprecated as a consequence of CreateViewFinalStep being deprecated.
Add an AS clause to the CREATE VIEW statement.

Method Detail

asback to summary
public @NotNull CreateViewFinalStep as(Select<? extends R> select)

Deprecated

as a consequence of CreateViewFinalStep being deprecated. See corresponding docs for further information.

Add an AS clause to the CREATE VIEW statement.

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
asback to summary
public @NotNull CreateViewFinalStep as(SQL sql)

Deprecated

as a consequence of CreateViewFinalStep being deprecated. See corresponding docs for further information.

Add an AS clause to the CREATE VIEW statement.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Parameters
sql:SQL

The SQL

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@PlainSQL
See Also
SQL
asback to summary
public @NotNull CreateViewFinalStep as(String sql)

Deprecated

as a consequence of CreateViewFinalStep being deprecated. See corresponding docs for further information.

Add an AS clause to the CREATE VIEW statement.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Parameters
sql:String

The SQL

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@PlainSQL
See Also
SQL
asback to summary
public @NotNull CreateViewFinalStep as(String sql, Object... bindings)

Deprecated

as a consequence of CreateViewFinalStep being deprecated. See corresponding docs for further information.

Add an AS clause to the CREATE VIEW statement.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Parameters
sql:String

The SQL

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@PlainSQL
See Also
SQL
asback to summary
public @NotNull CreateViewFinalStep as(String sql, QueryPart... parts)

Deprecated

as a consequence of CreateViewFinalStep being deprecated. See corresponding docs for further information.

Add an AS clause to the CREATE VIEW statement.

Note

When inserting plain SQL into jOOQ objects, you must guarantee syntax integrity. You may also create the possibility of malicious SQL injection. Be sure to properly use bind variables and/or escape literals when concatenated into SQL clauses!

Parameters
sql:String

The SQL

Annotations
@NotNull
@CheckReturnValue
@Support:CUBRID, DERBY, FIREBIRD, H2, HSQLDB, MARIADB, MYSQL, POSTGRES, SQLITE, YUGABYTEDB
@PlainSQL
See Also
SQL