All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.ext.mssql.statement.CreateIndexStatementMSSQL Maven / Gradle / Ivy

There is a newer version: 1.6.4
Show newest version
package liquibase.ext.mssql.statement;

import liquibase.statement.core.CreateIndexStatement;

public class CreateIndexStatementMSSQL extends CreateIndexStatement {
  private String includedColumns;

  private Integer fillFactor;

  public String getIncludedColumns() {
    return includedColumns;
  }

  public void setIncludedColumns(String includedColumns) {
    this.includedColumns = includedColumns;
  }

  public Integer getFillFactor() { return fillFactor; }

  public void setFillFactor(Integer fillFactor) { this.fillFactor = fillFactor; }

  public CreateIndexStatementMSSQL(CreateIndexStatement createIndexStatement, String includedColumns, Integer fillFactor) {
    super(createIndexStatement.getIndexName(), createIndexStatement.getTableCatalogName(),
        createIndexStatement.getTableSchemaName(), createIndexStatement.getTableName(),
        createIndexStatement.isUnique(), createIndexStatement.getAssociatedWith(),
        createIndexStatement.getColumns());
    
    if (createIndexStatement.isClustered() != null) {
    	setClustered(createIndexStatement.isClustered());
    }

    this.includedColumns = includedColumns;
    this.fillFactor = fillFactor;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy