Top Description Fields Constructors Methods
org.jooq.impl

pack-priv final Class CreateIndexImpl

extends AbstractDDLQuery
implements CreateIndex, CreateIndexStep, CreateIndexIncludeStep, CreateIndexWhereStep, CreateIndexFinalStep
Class Inheritance
All Implemented Interfaces
org.jooq.CreateIndexFinalStep, 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.CreateIndexWhereStep, org.jooq.CreateIndexIncludeStep, org.jooq.CreateIndexStep, org.jooq.impl.QOM.CreateIndex
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 CreateIndexIncludeStep, CreateIndexWhereStep and CreateIndexFinalStep being deprecated. See corresponding docs for further information.

The CREATE INDEX statement.

Field Summary

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

Deprecated as a consequence of Clause being deprecated.
pack-priv boolean
pack-priv final boolean
pack-priv QueryPartListView<? extends Field<?>>
pack-priv final Index
private static final Set<SQLDialect>
private static final Set<SQLDialect>
pack-priv QueryPartListView<? extends OrderField<?>>
private static final Set<SQLDialect>
private static final Set<SQLDialect>
private static final Set<SQLDialect>
pack-priv Table<?>
pack-priv final boolean
pack-priv Condition
where

Deprecated as a consequence of Condition being deprecated.

Constructor Summary

AccessConstructor and Description
pack-priv
CreateIndexImpl(Configuration configuration, boolean unique, Index index, boolean ifNotExists)

pack-priv
CreateIndexImpl(Configuration configuration, boolean unique, boolean ifNotExists)

pack-priv
CreateIndexImpl(Configuration configuration, boolean unique, Index index, boolean ifNotExists, Table<?> table, Collection<? extends OrderField<?>> on, Collection<? extends Field<?>> include, Condition where, boolean excludeNullKeys)

Deprecated as a consequence of Condition being deprecated.

Method Summary

Modifier and TypeMethod and Description
public final Function8<? super Boolean, ? super Index, ? super Boolean, ? super Table<?>, ? super Collection<? extends OrderField<?>>, ? super Collection<? extends Field<?>>, ? super Condition, ? super Boolean, ? extends QOM.CreateIndex>
public final boolean
public final QOM.CreateIndex
public final boolean
public final QOM.CreateIndex
public final QOM.UnmodifiableList<? extends Field<?>>
public final QOM.CreateIndex
public final Index
public final QOM.CreateIndex
public final QOM.UnmodifiableList<? extends OrderField<?>>
public final QOM.CreateIndex
$on(Collection<? extends OrderField<?>> newValue)

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

public final Table<?>
public final QOM.CreateIndex
public final boolean
public final QOM.CreateIndex
$unique(boolean newValue)

Implements org.jooq.impl.QOM.CreateIndex.$unique.

public final Condition
$where()

Implements org.jooq.impl.QOM.CreateIndex.$where.

Deprecated as a consequence of Condition being deprecated.
public final QOM.CreateIndex
$where(Condition newValue)

Implements org.jooq.impl.QOM.CreateIndex.$where.

Deprecated as a consequence of Condition being deprecated.
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 CreateIndexImpl
excludeNullKeys()

Implements org.jooq.CreateIndexWhereStep.excludeNullKeys.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the EXCLUDE NULL KEYS clause to the CREATE INDEX statement.
private final Name
public final CreateIndexImpl
include(String... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the INCLUDE clause to the CREATE INDEX statement.
public final CreateIndexImpl
include(Name... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the INCLUDE clause to the CREATE INDEX statement.
public final CreateIndexImpl
include(Field<?>... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Deprecated as a consequence of Field and CreateIndexImpl being deprecated.
Add the INCLUDE clause to the CREATE INDEX statement.
public final CreateIndexImpl
include(Collection<? extends Field<?>> include)

Implements org.jooq.CreateIndexIncludeStep.include.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the INCLUDE clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(String table, String... on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(Name table, Name... on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(Table<?> table, OrderField<?>... on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(String table, Collection<? extends String> on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(Name table, Collection<? extends Name> on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
public final CreateIndexImpl
on(Table<?> table, Collection<? extends OrderField<?>> on)

Implements org.jooq.CreateIndexStep.on.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the ON clause to the CREATE INDEX statement.
private final boolean
public final CreateIndexImpl
where(Field<Boolean> where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of Field and CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(Condition... where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of Condition and CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(Collection<? extends Condition> where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(Condition where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of Condition and CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(String where, QueryPart... parts)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(String where, Object... bindings)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(String where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
public final CreateIndexImpl
where(SQL where)

Implements org.jooq.CreateIndexWhereStep.where.

Deprecated as a consequence of CreateIndexImpl being deprecated.
Add the WHERE clause to the CREATE INDEX statement.
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.

excludeNullKeysback to summary
pack-priv boolean excludeNullKeys
ifNotExistsback to summary
pack-priv final boolean ifNotExists
includeback to summary
pack-priv QueryPartListView<? extends Field<?>> include
indexback to summary
pack-priv final Index index
NO_SUPPORT_IF_NOT_EXISTSback to summary
private static final Set<SQLDialect> NO_SUPPORT_IF_NOT_EXISTS
NO_SUPPORT_SORT_SPECback to summary
private static final Set<SQLDialect> NO_SUPPORT_SORT_SPEC
onback to summary
pack-priv QueryPartListView<? extends OrderField<?>> on
SUPPORT_INCLUDEback to summary
private static final Set<SQLDialect> SUPPORT_INCLUDE
SUPPORT_UNIQUE_INCLUDEback to summary
private static final Set<SQLDialect> SUPPORT_UNIQUE_INCLUDE
SUPPORT_UNNAMED_INDEXback to summary
private static final Set<SQLDialect> SUPPORT_UNNAMED_INDEX
tableback to summary
pack-priv Table<?> table
uniqueback to summary
pack-priv final boolean unique
whereback to summary
pack-priv Condition where

Deprecated

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

Constructor Detail

CreateIndexImplback to summary
pack-priv CreateIndexImpl(Configuration configuration, boolean unique, Index index, boolean ifNotExists)
CreateIndexImplback to summary
pack-priv CreateIndexImpl(Configuration configuration, boolean unique, boolean ifNotExists)
CreateIndexImplback to summary
pack-priv CreateIndexImpl(Configuration configuration, boolean unique, Index index, boolean ifNotExists, Table<?> table, Collection<? extends OrderField<?>> on, Collection<? extends Field<?>> include, Condition where, boolean excludeNullKeys)

Deprecated

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

Method Detail

$constructorback to summary
public final Function8<? super Boolean, ? super Index, ? super Boolean, ? super Table<?>, ? super Collection<? extends OrderField<?>>, ? super Collection<? extends Field<?>>, ? super Condition, ? super Boolean, ? extends QOM.CreateIndex> $constructor()
$excludeNullKeysback to summary
public final boolean $excludeNullKeys()

Implements org.jooq.impl.QOM.CreateIndex.$excludeNullKeys.

Annotations
@Override
$excludeNullKeysback to summary
public final QOM.CreateIndex $excludeNullKeys(boolean newValue)

Implements org.jooq.impl.QOM.CreateIndex.$excludeNullKeys.

Annotations
@Override
$ifNotExistsback to summary
public final boolean $ifNotExists()

Implements org.jooq.impl.QOM.CreateIndex.$ifNotExists.

Annotations
@Override
$ifNotExistsback to summary
public final QOM.CreateIndex $ifNotExists(boolean newValue)

Implements org.jooq.impl.QOM.CreateIndex.$ifNotExists.

Annotations
@Override
$includeback to summary
public final QOM.UnmodifiableList<? extends Field<?>> $include()

Implements org.jooq.impl.QOM.CreateIndex.$include.

Annotations
@Override
$includeback to summary
public final QOM.CreateIndex $include(Collection<? extends Field<?>> newValue)

Implements org.jooq.impl.QOM.CreateIndex.$include.

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

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

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

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

Annotations
@Override
$onback to summary
public final QOM.UnmodifiableList<? extends OrderField<?>> $on()

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

Annotations
@Override
$onback to summary
public final QOM.CreateIndex $on(Collection<? extends OrderField<?>> newValue)

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

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

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

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

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

Annotations
@Override
$uniqueback to summary
public final boolean $unique()

Implements org.jooq.impl.QOM.CreateIndex.$unique.

Annotations
@Override
$uniqueback to summary
public final QOM.CreateIndex $unique(boolean newValue)

Implements org.jooq.impl.QOM.CreateIndex.$unique.

Annotations
@Override
$whereback to summary
public final Condition $where()

Implements org.jooq.impl.QOM.CreateIndex.$where.

Deprecated

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

Annotations
@Override
$whereback to summary
public final QOM.CreateIndex $where(Condition newValue)

Implements org.jooq.impl.QOM.CreateIndex.$where.

Deprecated

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

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
excludeNullKeysback to summary
public final CreateIndexImpl excludeNullKeys()

Implements org.jooq.CreateIndexWhereStep.excludeNullKeys.

Doc from org.jooq.CreateIndexWhereStep.excludeNullKeys.

Deprecated

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

Add the EXCLUDE NULL KEYS clause to the CREATE INDEX statement.

Annotations
@Override
generatedNameback to summary
private final Name generatedName()
includeback to summary
public final CreateIndexImpl include(String... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Doc from org.jooq.CreateIndexIncludeStep.include.

Deprecated

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

Add the INCLUDE clause to the CREATE INDEX statement.

If this is not supported by any given database, then the included columns will simply be put in the index as ordinary columns, making the index a composite index.

Annotations
@Override
includeback to summary
public final CreateIndexImpl include(Name... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Doc from org.jooq.CreateIndexIncludeStep.include.

Deprecated

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

Add the INCLUDE clause to the CREATE INDEX statement.

If this is not supported by any given database, then the included columns will simply be put in the index as ordinary columns, making the index a composite index.

Annotations
@Override
includeback to summary
public final CreateIndexImpl include(Field<?>... include)

Implements org.jooq.CreateIndexIncludeStep.include.

Doc from org.jooq.CreateIndexIncludeStep.include.

Deprecated

as a consequence of Field and CreateIndexImpl being deprecated. See corresponding docs for further information.

Add the INCLUDE clause to the CREATE INDEX statement.

If this is not supported by any given database, then the included columns will simply be put in the index as ordinary columns, making the index a composite index.

Annotations
@Override
includeback to summary
public final CreateIndexImpl include(Collection<? extends Field<?>> include)

Implements org.jooq.CreateIndexIncludeStep.include.

Doc from org.jooq.CreateIndexIncludeStep.include.

Deprecated

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

Add the INCLUDE clause to the CREATE INDEX statement.

If this is not supported by any given database, then the included columns will simply be put in the index as ordinary columns, making the index a composite index.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(String table, String... on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(Name table, Name... on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(Table<?> table, OrderField<?>... on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(String table, Collection<? extends String> on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(Name table, Collection<? extends Name> on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
onback to summary
public final CreateIndexImpl on(Table<?> table, Collection<? extends OrderField<?>> on)

Implements org.jooq.CreateIndexStep.on.

Doc from org.jooq.CreateIndexStep.on.

Deprecated

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

Add the ON clause to the CREATE INDEX statement.

Annotations
@Override
supportsIfNotExistsback to summary
private final boolean supportsIfNotExists(Context<?> ctx)
whereback to summary
public final CreateIndexImpl where(Field<Boolean> where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

as a consequence of Field and CreateIndexImpl being deprecated. See corresponding docs for further information.

Add the WHERE clause to the CREATE INDEX statement.

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(Condition... where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

as a consequence of Condition and CreateIndexImpl being deprecated. See corresponding docs for further information.

Add the WHERE clause to the CREATE INDEX statement.

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(Collection<? extends Condition> where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

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

Add the WHERE clause to the CREATE INDEX statement.

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(Condition where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

as a consequence of Condition and CreateIndexImpl being deprecated. See corresponding docs for further information.

Add the WHERE clause to the CREATE INDEX statement.

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(String where, QueryPart... parts)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

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

Add the WHERE clause to the CREATE INDEX 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!

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(String where, Object... bindings)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

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

Add the WHERE clause to the CREATE INDEX 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!

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(String where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

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

Add the WHERE clause to the CREATE INDEX 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!

Annotations
@Override
whereback to summary
public final CreateIndexImpl where(SQL where)

Implements org.jooq.CreateIndexWhereStep.where.

Doc from org.jooq.CreateIndexWhereStep.where.

Deprecated

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

Add the WHERE clause to the CREATE INDEX 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!

Annotations
@Override