Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class TruncateImpl<R extends org.jooq.Record>

extends AbstractDDLQuery
implements QOM.Truncate<R extends Record>, TruncateIdentityStep<R extends Record>, TruncateCascadeStep<R extends Record>, TruncateFinalStep<R extends Record>, Truncate<R extends Record>
Class Inheritance
All Implemented Interfaces
org.jooq.Truncate, org.jooq.DDLQuery, org.jooq.RowCountQuery, org.jooq.Publisher, java.util.concurrent.Flow.Publisher, org.reactivestreams.Publisher, org.jooq.Query, org.jooq.AttachableQueryPart, org.jooq.QueryPart, java.io.Serializable, org.jooq.Attachable, org.jooq.Statement, org.jooq.TruncateFinalStep, org.jooq.TruncateCascadeStep, org.jooq.TruncateIdentityStep, org.jooq.impl.QOM.Truncate
Annotations
@SuppressWarnings:rawtypes, unchecked, unused
Static Imports
org.jooq.impl.DSL.*, org.jooq.impl.Internal.*, org.jooq.impl.Keywords.*, org.jooq.impl.Names.*, org.jooq.impl.SQLDataType.*, org.jooq.impl.Tools.*, org.jooq.impl.Tools.BooleanDataKey.*, org.jooq.impl.Tools.ExtendedDataKey.*, org.jooq.impl.Tools.SimpleDataKey.*, org.jooq.SQLDialect.*

Deprecated

as a consequence of TruncateIdentityStep, TruncateCascadeStep and TruncateFinalStep being deprecated. See corresponding docs for further information.

The TRUNCATE statement.

Field Summary

Modifier and TypeField and Description
pack-priv QOM.Cascade
private static final Clause[]
CLAUSES

Deprecated as a consequence of Clause being deprecated.
pack-priv QOM.IdentityRestartOption
pack-priv final Table<R>

Constructor Summary

AccessConstructor and Description
pack-priv
TruncateImpl(Configuration configuration, Table<R> table)

pack-priv
TruncateImpl(Configuration configuration, Table<R> table, QOM.IdentityRestartOption restartIdentity, QOM.Cascade cascade)

Method Summary

Modifier and TypeMethod and Description
public final QOM.Cascade
public final QOM.Truncate<R>
public final Function3<? super Table<R>, ? super QOM.IdentityRestartOption, ? super QOM.Cascade, ? extends QOM.Truncate<R>>
public final QOM.IdentityRestartOption
public final QOM.Truncate<R>
public final Table<R>
public final QOM.Truncate<R>
public final void
accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.
public final TruncateImpl<R>
cascade()

Implements org.jooq.TruncateCascadeStep.cascade.

Deprecated as a consequence of TruncateImpl being deprecated.
Add the CASCADE clause to the TRUNCATE statement.
public final Clause[]
clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Deprecated as a consequence of Clause being deprecated.
The Clauses that are represented by this query part.
public final TruncateImpl<R>
continueIdentity()

Implements org.jooq.TruncateIdentityStep.continueIdentity.

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

Implements org.jooq.TruncateIdentityStep.restartIdentity.

Deprecated as a consequence of TruncateImpl being deprecated.
Add the RESTART IDENTITY clause to the TRUNCATE statement.
public final TruncateImpl<R>
restrict()

Implements org.jooq.TruncateCascadeStep.restrict.

Deprecated as a consequence of TruncateImpl being deprecated.
Add the RESTRICT clause to the TRUNCATE statement.
Inherited from org.jooq.impl.AbstractDDLQuery:
acceptCascade

Field Detail

cascadeback to summary
pack-priv QOM.Cascade cascade
CLAUSESback to summary
private static final Clause[] CLAUSES

Deprecated

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

restartIdentityback to summary
pack-priv QOM.IdentityRestartOption restartIdentity
tableback to summary
pack-priv final Table<R> table

Constructor Detail

TruncateImplback to summary
pack-priv TruncateImpl(Configuration configuration, Table<R> table)
TruncateImplback to summary
pack-priv TruncateImpl(Configuration configuration, Table<R> table, QOM.IdentityRestartOption restartIdentity, QOM.Cascade cascade)

Method Detail

$cascadeback to summary
public final QOM.Cascade $cascade()

Implements org.jooq.impl.QOM.Truncate.$cascade.

Annotations
@Override
$cascadeback to summary
public final QOM.Truncate<R> $cascade(QOM.Cascade newValue)

Implements org.jooq.impl.QOM.Truncate.$cascade.

Annotations
@Override
$constructorback to summary
public final Function3<? super Table<R>, ? super QOM.IdentityRestartOption, ? super QOM.Cascade, ? extends QOM.Truncate<R>> $constructor()
$restartIdentityback to summary
public final QOM.IdentityRestartOption $restartIdentity()

Implements org.jooq.impl.QOM.Truncate.$restartIdentity.

Annotations
@Override
$restartIdentityback to summary
public final QOM.Truncate<R> $restartIdentity(QOM.IdentityRestartOption newValue)

Implements org.jooq.impl.QOM.Truncate.$restartIdentity.

Annotations
@Override
$tableback to summary
public final Table<R> $table()

Implements org.jooq.impl.QOM.Truncate.$table.

Annotations
@Override
$tableback to summary
public final QOM.Truncate<R> $table(Table<R> newValue)

Implements org.jooq.impl.QOM.Truncate.$table.

Annotations
@Override
acceptback to summary
public final void accept(Context<?> ctx)

Implements org.jooq.QueryPartInternal.accept.

Doc from org.jooq.QueryPartInternal.accept.

This QueryPart can accept a Context object in order to render a SQL string or to bind its variables.

Annotations
@Override
cascadeback to summary
public final TruncateImpl<R> cascade()

Implements org.jooq.TruncateCascadeStep.cascade.

Doc from org.jooq.TruncateCascadeStep.cascade.

Deprecated

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

Add the CASCADE clause to the TRUNCATE statement.

Annotations
@Override
clausesback to summary
public final Clause[] clauses(Context<?> ctx)

Overrides org.jooq.impl.AbstractQueryPart.clauses.

Implements org.jooq.QueryPartInternal.clauses.

Doc from org.jooq.QueryPartInternal.clauses.

Deprecated

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

The Clauses that are represented by this query part.

QueryParts can specify several Clauses for which an event will be emitted before (in forward order) and after (in reverse order) visiting the the query part through Context#visit(QueryPart)

This method is for JOOQ INTERNAL USE only. Do not reference directly

Returns:Clause[]

The Clauses represented by this query part or null or an empty array if this query part does not represent a clause.

Annotations
@Override
continueIdentityback to summary
public final TruncateImpl<R> continueIdentity()

Implements org.jooq.TruncateIdentityStep.continueIdentity.

Doc from org.jooq.TruncateIdentityStep.continueIdentity.

Deprecated

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

Add the CONTINUE IDENTITY clause to the TRUNCATE statement.

Annotations
@Override
restartIdentityback to summary
public final TruncateImpl<R> restartIdentity()

Implements org.jooq.TruncateIdentityStep.restartIdentity.

Doc from org.jooq.TruncateIdentityStep.restartIdentity.

Deprecated

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

Add the RESTART IDENTITY clause to the TRUNCATE statement.

Annotations
@Override
restrictback to summary
public final TruncateImpl<R> restrict()

Implements org.jooq.TruncateCascadeStep.restrict.

Doc from org.jooq.TruncateCascadeStep.restrict.

Deprecated

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

Add the RESTRICT clause to the TRUNCATE statement.

Annotations
@Override