public class CreateSequenceChange extends AbstractChange
LiquibaseSerializable.SerializationTypeGENERIC_CHANGELOG_EXTENSION_NAMESPACE, GENERIC_SNAPSHOT_EXTENSION_NAMESPACE, STANDARD_CHANGELOG_NAMESPACE, STANDARD_SNAPSHOT_NAMESPACE| Constructor and Description |
|---|
CreateSequenceChange() |
| Modifier and Type | Method and Description |
|---|---|
ChangeStatus |
checkStatus(Database database)
Validate that this change executed successfully against the given database.
|
protected Change[] |
createInverses()
Create inverse changes that can roll back this change.
|
SqlStatement[] |
generateStatements(Database database)
Generates the
SqlStatement objects required to run the change for the given database. |
BigInteger |
getCacheSize() |
String |
getCatalogName() |
String |
getConfirmationMessage()
Confirmation message to be displayed after the change is executed.
|
Boolean |
getCycle() |
BigInteger |
getIncrementBy() |
BigInteger |
getMaxValue() |
BigInteger |
getMinValue() |
String |
getSchemaName() |
String |
getSequenceName() |
String |
getSerializedObjectNamespace() |
BigInteger |
getStartValue() |
Boolean |
isOrdered() |
void |
setCacheSize(BigInteger cacheSize) |
void |
setCatalogName(String catalogName) |
void |
setCycle(Boolean cycle) |
void |
setIncrementBy(BigInteger incrementBy) |
void |
setMaxValue(BigInteger maxValue) |
void |
setMinValue(BigInteger minValue) |
void |
setOrdered(Boolean ordered) |
void |
setSchemaName(String schemaName) |
void |
setSequenceName(String sequenceName) |
void |
setStartValue(BigInteger startValue) |
createChangeMetaData, createChangeParameterMetadata, createDescriptionMetaData, createEmptyColumnConfig, createExampleValueMetaData, createMustEqualExistingMetaData, createRequiredDatabasesMetaData, createSerializationTypeMetaData, createSinceMetaData, createSupportedDatabasesMetaData, customLoadLogic, finishInitialization, generateCheckSum, generateRollbackStatements, generateRollbackStatementsVolatile, generateStatementsVolatile, getAffectedDatabaseObjects, getChangeSet, getDescription, getResourceAccessor, getSerializableFieldNamespace, getSerializableFields, getSerializableFieldType, getSerializableFieldValue, getSerializedObjectName, isInvalidProperty, load, serialize, serializeValue, setChangeSet, setResourceAccessor, supports, supportsRollback, toString, validate, warnpublic String getCatalogName()
public void setCatalogName(String catalogName)
public String getSchemaName()
public void setSchemaName(String schemaName)
public String getSequenceName()
public void setSequenceName(String sequenceName)
public BigInteger getStartValue()
public void setStartValue(BigInteger startValue)
public BigInteger getIncrementBy()
public void setIncrementBy(BigInteger incrementBy)
public BigInteger getMaxValue()
public void setMaxValue(BigInteger maxValue)
public BigInteger getMinValue()
public void setMinValue(BigInteger minValue)
public Boolean isOrdered()
public void setOrdered(Boolean ordered)
public Boolean getCycle()
public void setCycle(Boolean cycle)
public BigInteger getCacheSize()
public void setCacheSize(BigInteger cacheSize)
public SqlStatement[] generateStatements(Database database)
ChangeSqlStatement objects required to run the change for the given database.
NOTE: This method may be called multiple times throughout the changelog execution process and may be called in documentation generation and other integration points as well.
If this method reads from the current database state or uses any other logic that will be affected by whether previous changeSets have ran or not, you must return true from Change.generateStatementsVolatile(liquibase.database.Database).public ChangeStatus checkStatus(Database database)
ChangecheckStatus in interface ChangecheckStatus in class AbstractChangeprotected Change[] createInverses()
AbstractChangeAbstractChange.generateRollbackStatements(liquibase.database.Database) is overridden, this method may not be called.createInverses in class AbstractChangepublic String getConfirmationMessage()
Changepublic String getSerializedObjectNamespace()
getSerializedObjectNamespace in interface LiquibaseSerializablegetSerializedObjectNamespace in class AbstractChangeCopyright © 2018 Liquibase.org. All rights reserved.