Class Index

    • Constructor Detail

      • Index

        public Index​(@NonNull
                     @NonNull Table table,
                     @NonNull
                     @NonNull List<SQLElement> columns)
        Instantiates a new Index.
        Parameters:
        table - the table containing the columns to index
        columns - the columns to index
      • Index

        public Index​(@NonNull
                     @NonNull SQLElement table,
                     String name,
                     boolean isUnique,
                     @NonNull
                     @NonNull List<SQLElement> columns)
        Instantiates a new Index.
        Parameters:
        table - the table containing the columns to index
        name - the name of the index
        isUnique - will the index have a unique constraint
        columns - the columns to index