public class GenerateUuid
extends java.lang.Object
implements liquibase.change.custom.CustomTaskChange
UUID
class, which is less efficient.Modifier and Type | Field and Description |
---|---|
protected org.apache.commons.logging.Log |
log |
static java.lang.Integer |
TRANSACTION_BATCH_SIZE_LIMIT |
Constructor and Description |
---|
GenerateUuid() |
Modifier and Type | Method and Description |
---|---|
void |
execute(liquibase.database.Database database)
Adds UUIDs to all rows for the specified tables.
|
java.lang.String |
getConfirmationMessage() |
void |
setColumnName(java.lang.String columnName)
This is called by liquibase to set the parameter "columnName" onto this change.
|
void |
setFileOpener(liquibase.resource.ResourceAccessor fileOpener) |
void |
setIdExceptions(java.lang.String idExceptions)
Way to specify the table id columns that don't follow the table_name.table_name_id pattern
|
void |
setTableNames(java.lang.String tableNames)
This is called by liquibase to set the parameter "tableNames" onto this change.
|
void |
setUp()
Get the values of the parameters passed in and set them to the local variables on this class.
|
liquibase.exception.ValidationErrors |
validate(liquibase.database.Database database) |
protected final org.apache.commons.logging.Log log
public static final java.lang.Integer TRANSACTION_BATCH_SIZE_LIMIT
public void execute(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
execute
in interface liquibase.change.custom.CustomTaskChange
liquibase.exception.CustomChangeException
CustomTaskChange.execute(liquibase.database.Database)
public java.lang.String getConfirmationMessage()
getConfirmationMessage
in interface liquibase.change.custom.CustomChange
CustomChange.getConfirmationMessage()
public void setFileOpener(liquibase.resource.ResourceAccessor fileOpener)
setFileOpener
in interface liquibase.change.custom.CustomChange
liquibase.change.custom.CustomChange#setFileOpener(liquibase.ResourceAccessor)
public void setUp() throws liquibase.exception.SetupException
setUp
in interface liquibase.change.custom.CustomChange
liquibase.exception.SetupException
CustomChange.setUp()
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
validate
in interface liquibase.change.custom.CustomChange
CustomChange.validate(liquibase.database.Database)
public void setTableNames(java.lang.String tableNames)
tableNames
- the tableNames to setpublic void setColumnName(java.lang.String columnName)
columnName
- the columnName to setpublic void setIdExceptions(java.lang.String idExceptions)
idExceptions
- Copyright © 2018 OpenMRS Inc.. All Rights Reserved.