Package org.jooq

Interface Index

  • All Superinterfaces:
    Named, QueryPart, java.io.Serializable

    public interface Index
    extends Named
    A DDL index definition.

    Instances can be created using DSL.index(Name) and overloads.

    Author:
    Lukas Eder
    • 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, or null, if this is an ordinary index.
      • getUnique

        boolean getUnique()
        Whether this is a UNIQUE index.