Top Description Methods
org.jooq

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

extends TruncateFinalStep<R extends Record>
Known Direct Subinterfaces
org.jooq.TruncateIdentityStep
Known Direct Implementers
org.jooq.impl.TruncateImpl
Annotations
@SuppressWarnings:unused
Static Imports
org.jooq.SQLDialect.*, org.jooq.impl.DSL.*

Deprecated

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

A step in the construction of the TRUNCATE statement.

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:

Method Summary

Modifier and TypeMethod and Description
public @NotNull TruncateFinalStep<R>
cascade()

Deprecated as a consequence of TruncateFinalStep being deprecated.
Add the CASCADE clause to the TRUNCATE statement.
public @NotNull TruncateFinalStep<R>
restrict()

Deprecated as a consequence of TruncateFinalStep being deprecated.
Add the RESTRICT clause to the TRUNCATE statement.

Method Detail

cascadeback to summary
public @NotNull TruncateFinalStep<R> cascade()

Deprecated

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

Add the CASCADE clause to the TRUNCATE statement.

Annotations
@Support:POSTGRES, YUGABYTEDB
@NotNull
@CheckReturnValue
restrictback to summary
public @NotNull TruncateFinalStep<R> restrict()

Deprecated

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

Add the RESTRICT clause to the TRUNCATE statement.

Annotations
@Support:POSTGRES, YUGABYTEDB
@NotNull
@CheckReturnValue