Top Description Methods
org.jooq

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

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

Deprecated

as a consequence of TruncateCascadeStep 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 TruncateCascadeStep<R>
continueIdentity()

Deprecated as a consequence of TruncateCascadeStep being deprecated.
Add the CONTINUE IDENTITY clause to the TRUNCATE statement.
public @NotNull TruncateCascadeStep<R>
restartIdentity()

Deprecated as a consequence of TruncateCascadeStep being deprecated.
Add the RESTART IDENTITY clause to the TRUNCATE statement.
Inherited from org.jooq.TruncateCascadeStep:
cascaderestrict

Method Detail

continueIdentityback to summary
public @NotNull TruncateCascadeStep<R> continueIdentity()

Deprecated

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

Add the CONTINUE IDENTITY clause to the TRUNCATE statement.

Annotations
@Support:HSQLDB, POSTGRES
@NotNull
@CheckReturnValue
restartIdentityback to summary
public @NotNull TruncateCascadeStep<R> restartIdentity()

Deprecated

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

Add the RESTART IDENTITY clause to the TRUNCATE statement.

Annotations
@Support:HSQLDB, POSTGRES
@NotNull
@CheckReturnValue