| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private String | |
| private final String | |
| private Boolean | |
| private Boolean | |
| private String |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ChangeStatus | checkStatus(Database database)
Overrides liquibase. Implements liquibase. Validate that this change executed successfully against the given database. |
| protected Map | createExampleValueMetaData(String parameterName, DatabaseChangeProperty changePropertyAnnotation)
Overrides liquibase. Create the |
| private static boolean | |
| public CheckSum | generateCheckSum()
Overrides liquibase. Implements liquibase. Calculates the checksum based on the contained SQL. |
| protected CheckSum | |
| private CheckSum | |
| public boolean | generateRollbackStatementsVolatile(Database database)
Overrides liquibase. Implements liquibase. Implementation delegates logic to the
|
| public SqlStatement[] | generateStatements(Database database)
Implements liquibase. Generates the |
| protected SqlStatement[] | |
| public boolean | generateStatementsVolatile(Database database)
Overrides liquibase. Implements liquibase. Implementation delegates logic to the
|
| public String | |
| public String | |
| public String | getConfirmationMessage()
Implements liquibase. Confirmation message to be displayed after the change is executed. |
| public String | |
| public String | |
| public String[] | getExcludedFieldFilters(ChecksumVersion version)
Overrides liquibase. Listing SQL content fields (for example procedureText, triggerBody, etc.) we don't want to include as part of the checksum computes, because have a separate part that computes that checksum for that part doing the "normalizing" logic, so it is not impacted by the reformatting of the SQL. |
| public String | |
| public String | |
| public String | |
| public String | |
| public Boolean | |
| public String | |
| public String | |
| public Boolean | |
| public InputStream | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setReplaceIfExists(Boolean replaceIfExists)
Implements liquibase.
|
| public void | |
| public ValidationErrors | validate(Database database)
Overrides liquibase. Implements liquibase. Implementation checks the ChangeParameterMetaData for declared required fields
and also delegates logic to the
|
| catalogName | back to summary |
|---|---|
| private String catalogName | |
| comments | back to summary |
|---|---|
| private String comments | |
| dbms | back to summary |
|---|---|
| private String dbms | |
| encoding | back to summary |
|---|---|
| private String encoding | |
| path | back to summary |
|---|---|
| private String path | |
| procedureName | back to summary |
|---|---|
| private String procedureName | |
| procedureText | back to summary |
|---|---|
| private String procedureText | |
| procedureTextDescription | back to summary |
|---|---|
| private final String procedureTextDescription | |
| relativeToChangelogFile | back to summary |
|---|---|
| private Boolean relativeToChangelogFile | |
| replaceIfExists | back to summary |
|---|---|
| private Boolean replaceIfExists | |
| schemaName | back to summary |
|---|---|
| private String schemaName | |
| CreateProcedureChange | back to summary |
|---|---|
| public CreateProcedureChange() | |
| checkStatus | back to summary |
|---|---|
| public ChangeStatus checkStatus(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Validate that this change executed successfully against the given database. This will check that the update completed at a high level plus check details of the change. For example, a change to add a column will check that the column exists plus data type, default values, etc.
| |
| createExampleValueMetaData | back to summary |
|---|---|
| protected Map Overrides liquibase. Doc from liquibase. Create the
| |
| databaseSupportsReplaceIfExists | back to summary |
|---|---|
| private static boolean databaseSupportsReplaceIfExists(Database database) | |
| generateCheckSum | back to summary |
|---|---|
| public CheckSum generateCheckSum() Overrides liquibase. Implements liquibase. Calculates the checksum based on the contained SQL.
| |
| generateCheckSumLatest | back to summary |
|---|---|
| protected CheckSum generateCheckSumLatest(String sqlText) | |
| generateCheckSumV8 | back to summary |
|---|---|
| private CheckSum generateCheckSumV8()
Deprecated
| |
| generateRollbackStatementsVolatile | back to summary |
|---|---|
| public boolean generateRollbackStatementsVolatile(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| generateStatements | back to summary |
|---|---|
| public SqlStatement[] generateStatements(Database database) Implements liquibase. Doc from liquibase. Generates the generateStatementsVolatile.
| |
| generateStatements | back to summary |
|---|---|
| protected SqlStatement[] generateStatements(String logicText, String endDelimiter, Database database) | |
| generateStatementsVolatile | back to summary |
|---|---|
| public boolean generateStatementsVolatile(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation delegates logic to the
| |
| getCatalogName | back to summary |
|---|---|
public String getCatalogName()
| |
| getComments | back to summary |
|---|---|
public String getComments()
| |
| getConfirmationMessage | back to summary |
|---|---|
| public String getConfirmationMessage() Implements liquibase. Doc from liquibase. Confirmation message to be displayed after the change is executed. Should include relevant configuration settings to make it as helpful as possible. This method may be called outside the changelog execution process, such as in documentation generation.
| |
| getDbms | back to summary |
|---|---|
| public String getDbms() Implements liquibase.
| |
| getEncoding | back to summary |
|---|---|
public String getEncoding()
| |
| getExcludedFieldFilters | back to summary |
|---|---|
| public String[] getExcludedFieldFilters(ChecksumVersion version) Overrides liquibase. Listing SQL content fields (for example procedureText, triggerBody, etc.) we don't want to include as part of the checksum computes, because have a separate part that computes that checksum for that part doing the "normalizing" logic, so it is not impacted by the reformatting of the SQL. We are also excluding fields from the checksum generation which does not have a direct impact on the DB, such as dbms, path, comments, etc. Besides it has an impact on the DB, we have decided to do not add replaceIfExists as part of this list of fields as we are already avoiding the recalculation of the checksum by listing the main content fields of the different change types.
| |
| getPath | back to summary |
|---|---|
public String getPath()
| |
| getProcedureBody | back to summary |
|---|---|
public String getProcedureBody()
| |
| getProcedureName | back to summary |
|---|---|
public String getProcedureName()
| |
| getProcedureText | back to summary |
|---|---|
public String getProcedureText()
| |
| getReplaceIfExists | back to summary |
|---|---|
public Boolean getReplaceIfExists()
| |
| getSchemaName | back to summary |
|---|---|
public String getSchemaName()
| |
| getSerializedObjectNamespace | back to summary |
|---|---|
| public String getSerializedObjectNamespace() Overrides liquibase. Implements liquibase.
| |
| isRelativeToChangelogFile | back to summary |
|---|---|
public Boolean isRelativeToChangelogFile()
| |
| openSqlStream | back to summary |
|---|---|
| public InputStream openSqlStream() throws IOException | |
| setCatalogName | back to summary |
|---|---|
| public void setCatalogName(String catalogName) | |
| setComments | back to summary |
|---|---|
| public void setComments(String comments) | |
| setDbms | back to summary |
|---|---|
| public void setDbms(final String dbms) Implements liquibase.
| |
| setEncoding | back to summary |
|---|---|
| public void setEncoding(String encoding) | |
| setPath | back to summary |
|---|---|
| public void setPath(String path) | |
| setProcedureBody | back to summary |
|---|---|
| public void setProcedureBody(String procedureText)
Deprecated Use setProcedureText() instead
| |
| setProcedureName | back to summary |
|---|---|
| public void setProcedureName(String procedureName) | |
| setProcedureText | back to summary |
|---|---|
| public void setProcedureText(String procedureText) | |
| setRelativeToChangelogFile | back to summary |
|---|---|
| public void setRelativeToChangelogFile(Boolean relativeToChangelogFile) | |
| setReplaceIfExists | back to summary |
|---|---|
| public void setReplaceIfExists(Boolean replaceIfExists) Implements liquibase.
| |
| setSchemaName | back to summary |
|---|---|
| public void setSchemaName(String schemaName) | |
| validate | back to summary |
|---|---|
| public ValidationErrors validate(Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Implementation checks the ChangeParameterMetaData for declared required fields
and also delegates logic to the
| |