-
- All Superinterfaces:
Named
,QueryPart
,Serializable
public interface Index extends Named
A DDL index definition.Instances can be created using
DSL.index(Name)
and overloads.- Author:
- Lukas Eder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull List<SortField<?>>
getFields()
The sort field expressions on which this index is defined.@Nullable Table<?>
getTable()
The table on which this index is defined.boolean
getUnique()
Whether this is aUNIQUE
index.@Nullable Condition
getWhere()
The condition of a filtered / partial index, ornull
, if this is an ordinary index.-
Methods inherited from interface org.jooq.Named
getComment, getCommentPart, getName, getQualifiedName, getUnqualifiedName
-
-
-
-
Method Detail
-
getTable
@Nullable @Nullable Table<?> getTable()
The table on which this index is defined.
-
getFields
@NotNull @NotNull List<SortField<?>> getFields()
The sort field expressions on which this index is defined.
-
getWhere
@Nullable @Nullable Condition getWhere()
The condition of a filtered / partial index, ornull
, if this is an ordinary index.
-
getUnique
boolean getUnique()
Whether this is aUNIQUE
index.
-
-