Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class AlterIndexImpl

extends AbstractDDLQuery
implements AlterIndex, AlterIndexOnStep, AlterIndexStep, AlterIndexFinalStep
Class Inheritance
All Implemented Interfaces
org.jooq.AlterIndexFinalStep, 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.AlterIndexStep, org.jooq.AlterIndexOnStep, org.jooq.impl.QOM.AlterIndex
Annotations
@SuppressWarnings:hiding, rawtypes, 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 AlterIndexFinalStep being deprecated. See corresponding docs for further information.

The ALTER INDEX statement.

Field Summary

Modifier and TypeField and Description
private static final Clause[]
CLAUSES

Deprecated as a consequence of Clause being deprecated.
pack-priv final boolean
pack-priv final Index
private static final Set<SQLDialect>
pack-priv Table<?>
pack-priv Index
private static final Set<SQLDialect>

Constructor Summary

AccessConstructor and Description
pack-priv
AlterIndexImpl(Configuration configuration, Index index, boolean ifExists)

pack-priv
AlterIndexImpl(Configuration configuration, Index index, boolean ifExists, Table<?> on, Index renameTo)

Method Summary

Modifier and TypeMethod and Description
public final Function4<? super Index, ? super Boolean, ? super Table<?>, ? super Index, ? extends QOM.AlterIndex>
public final boolean
public final QOM.AlterIndex
public final Index
public final QOM.AlterIndex
public final Table<?>
public final QOM.AlterIndex
$on(Table<?> newValue)

Implements org.jooq.impl.QOM.AlterIndex.$on.

public final Index
public final QOM.AlterIndex
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.
private final void
accept0(Context<?> ctx)

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 AlterIndexImpl
on(String on)

Implements org.jooq.AlterIndexOnStep.on.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the ON clause to the ALTER INDEX statement.
public final AlterIndexImpl
on(Name on)

Implements org.jooq.AlterIndexOnStep.on.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the ON clause to the ALTER INDEX statement.
public final AlterIndexImpl
on(Table<?> on)

Implements org.jooq.AlterIndexOnStep.on.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the ON clause to the ALTER INDEX statement.
public final AlterIndexImpl
renameTo(String renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the RENAME TO clause to the ALTER INDEX statement.
public final AlterIndexImpl
renameTo(Name renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the RENAME TO clause to the ALTER INDEX statement.
public final AlterIndexImpl
renameTo(Index renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Deprecated as a consequence of AlterIndexImpl being deprecated.
Add the RENAME TO clause to the ALTER INDEX statement.
private final boolean
Inherited from org.jooq.impl.AbstractDDLQuery:
acceptCascade

Field Detail

CLAUSESback to summary
private static final Clause[] CLAUSES

Deprecated

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

ifExistsback to summary
pack-priv final boolean ifExists
indexback to summary
pack-priv final Index index
NO_SUPPORT_IF_EXISTSback to summary
private static final Set<SQLDialect> NO_SUPPORT_IF_EXISTS
onback to summary
pack-priv Table<?> on
renameToback to summary
pack-priv Index renameTo
SUPPORT_RENAME_INDEXback to summary
private static final Set<SQLDialect> SUPPORT_RENAME_INDEX

Constructor Detail

AlterIndexImplback to summary
pack-priv AlterIndexImpl(Configuration configuration, Index index, boolean ifExists)
AlterIndexImplback to summary
pack-priv AlterIndexImpl(Configuration configuration, Index index, boolean ifExists, Table<?> on, Index renameTo)

Method Detail

$constructorback to summary
public final Function4<? super Index, ? super Boolean, ? super Table<?>, ? super Index, ? extends QOM.AlterIndex> $constructor()
$ifExistsback to summary
public final boolean $ifExists()

Implements org.jooq.impl.QOM.AlterIndex.$ifExists.

Annotations
@Override
$ifExistsback to summary
public final QOM.AlterIndex $ifExists(boolean newValue)

Implements org.jooq.impl.QOM.AlterIndex.$ifExists.

Annotations
@Override
$indexback to summary
public final Index $index()

Implements org.jooq.impl.QOM.AlterIndex.$index.

Annotations
@Override
$indexback to summary
public final QOM.AlterIndex $index(Index newValue)

Implements org.jooq.impl.QOM.AlterIndex.$index.

Annotations
@Override
$onback to summary
public final Table<?> $on()

Implements org.jooq.impl.QOM.AlterIndex.$on.

Annotations
@Override
$onback to summary
public final QOM.AlterIndex $on(Table<?> newValue)

Implements org.jooq.impl.QOM.AlterIndex.$on.

Annotations
@Override
$renameToback to summary
public final Index $renameTo()

Implements org.jooq.impl.QOM.AlterIndex.$renameTo.

Annotations
@Override
$renameToback to summary
public final QOM.AlterIndex $renameTo(Index newValue)

Implements org.jooq.impl.QOM.AlterIndex.$renameTo.

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
accept0back to summary
private final void accept0(Context<?> ctx)
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
onback to summary
public final AlterIndexImpl on(String on)

Implements org.jooq.AlterIndexOnStep.on.

Doc from org.jooq.AlterIndexOnStep.on.

Deprecated

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

Add the ON clause to the ALTER INDEX statement.

SQLDialect#MYSQL, SQLDialect#MARIADB, and SQLDialect#SQLSERVER use table-scoped index names, not schema-scoped names. This means that in these databases, the ON clause is mandatory in order to unambiguously identify an index. In all other databases, the ON clause will simply be ignored for compatibility reasons.

Annotations
@Override
onback to summary
public final AlterIndexImpl on(Name on)

Implements org.jooq.AlterIndexOnStep.on.

Doc from org.jooq.AlterIndexOnStep.on.

Deprecated

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

Add the ON clause to the ALTER INDEX statement.

SQLDialect#MYSQL, SQLDialect#MARIADB, and SQLDialect#SQLSERVER use table-scoped index names, not schema-scoped names. This means that in these databases, the ON clause is mandatory in order to unambiguously identify an index. In all other databases, the ON clause will simply be ignored for compatibility reasons.

Annotations
@Override
onback to summary
public final AlterIndexImpl on(Table<?> on)

Implements org.jooq.AlterIndexOnStep.on.

Doc from org.jooq.AlterIndexOnStep.on.

Deprecated

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

Add the ON clause to the ALTER INDEX statement.

SQLDialect#MYSQL, SQLDialect#MARIADB, and SQLDialect#SQLSERVER use table-scoped index names, not schema-scoped names. This means that in these databases, the ON clause is mandatory in order to unambiguously identify an index. In all other databases, the ON clause will simply be ignored for compatibility reasons.

Annotations
@Override
renameToback to summary
public final AlterIndexImpl renameTo(String renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Doc from org.jooq.AlterIndexStep.renameTo.

Deprecated

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

Add the RENAME TO clause to the ALTER INDEX statement.

Note that in some databases, including MySQL and SQL Server, the index namespace is tied to a table, not a schema. In those databases, it is recommended to call DSLContext#alterTable(String) with AlterTableStep#renameIndex(String) instead.

Annotations
@Override
renameToback to summary
public final AlterIndexImpl renameTo(Name renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Doc from org.jooq.AlterIndexStep.renameTo.

Deprecated

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

Add the RENAME TO clause to the ALTER INDEX statement.

Note that in some databases, including MySQL and SQL Server, the index namespace is tied to a table, not a schema. In those databases, it is recommended to call DSLContext#alterTable(String) with AlterTableStep#renameIndex(String) instead.

Annotations
@Override
renameToback to summary
public final AlterIndexImpl renameTo(Index renameTo)

Implements org.jooq.AlterIndexStep.renameTo.

Doc from org.jooq.AlterIndexStep.renameTo.

Deprecated

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

Add the RENAME TO clause to the ALTER INDEX statement.

Note that in some databases, including MySQL and SQL Server, the index namespace is tied to a table, not a schema. In those databases, it is recommended to call DSLContext#alterTable(String) with AlterTableStep#renameIndex(String) instead.

Annotations
@Override
supportsIfExistsback to summary
private final boolean supportsIfExists(Context<?> ctx)