liquibase.statement.core.AddAutoIncrementStatement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.statement.core;
import liquibase.statement.AbstractSqlStatement;
import java.math.BigInteger;
public class AddAutoIncrementStatement extends AbstractSqlStatement {
private final String catalogName;
private final String schemaName;
private final String tableName;
private final String columnName;
private final String columnDataType;
private final BigInteger startWith;
private final BigInteger incrementBy;
private final Boolean defaultOnNull;
private final String generationType;
public AddAutoIncrementStatement(
String catalogName,
String schemaName,
String tableName,
String columnName,
String columnDataType,
BigInteger startWith,
BigInteger incrementBy,
Boolean defaultOnNull,
String generationType) {
this.catalogName = catalogName;
this.schemaName = schemaName;
this.tableName = tableName;
this.columnName = columnName;
this.columnDataType = columnDataType;
this.startWith = startWith;
this.incrementBy = incrementBy;
this.defaultOnNull = defaultOnNull;
this.generationType = generationType;
}
public String getCatalogName() {
return catalogName;
}
public String getSchemaName() {
return schemaName;
}
public String getTableName() {
return tableName;
}
public String getColumnName() {
return columnName;
}
public String getColumnDataType() {
return columnDataType;
}
public BigInteger getStartWith() {
return startWith;
}
public BigInteger getIncrementBy() {
return incrementBy;
}
public Boolean getDefaultOnNull() {
return defaultOnNull;
}
public String getGenerationType() {
return generationType;
}
}