Package org.jooq
Interface Index
-
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 java.util.List<SortField<?>>
getFields()
The sort field expressions on which this index is defined.Table<?>
getTable()
The table on which this index is defined.boolean
getUnique()
Whether this is aUNIQUE
index.Condition
getWhere()
The condition of a filtered / partial index, ornull
, if this is an ordinary index.-
Methods inherited from interface org.jooq.Named
getComment, getName, getQualifiedName, getUnqualifiedName
-
-
-
-
Method Detail
-
getTable
Table<?> getTable()
The table on which this index is defined.
-
getFields
java.util.List<SortField<?>> getFields()
The sort field expressions on which this index is defined.
-
getWhere
Condition getWhere()
The condition of a filtered / partial index, ornull
, if this is an ordinary index.
-
getUnique
boolean getUnique()
Whether this is aUNIQUE
index.
-
-