public class GenerateUuid extends Object implements liquibase.change.custom.CustomTaskChange
UUID
class, which is less efficient.Modifier and Type | Field and Description |
---|---|
static 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.
|
String |
getConfirmationMessage() |
void |
setColumnName(String columnName)
This is called by liquibase to set the parameter "columnName" onto this change.
|
void |
setFileOpener(liquibase.resource.ResourceAccessor fileOpener) |
void |
setIdExceptions(String idExceptions)
Way to specify the table id columns that don't follow the table_name.table_name_id pattern
|
void |
setTableNames(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) |
public static final 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 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
CustomChange.setFileOpener(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(String tableNames)
tableNames
- the tableNames to setpublic void setColumnName(String columnName)
columnName
- the columnName to setpublic void setIdExceptions(String idExceptions)
idExceptions
- Copyright © 2024 OpenMRS Inc.. All rights reserved.