| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static String | addSchemaToText(String procedureText, String schemaName, String keywordBeforeName, Database database)
Convenience method for other classes similar to this that want to be able to modify the procedure text to add the schema |
| public Sql[] | generateSql(CreateProcedureStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)
Implements liquibase. Generate the actual Sql for the given statement and database. |
| public static String | |
| public boolean | supports(CreateProcedureStatement statement, Database database)
Overrides liquibase. Implements liquibase. Does this generator support the given statement/database combination? |
| public static void | surroundWithSchemaSets(List<Sql> sql, String schemaName, Database database)
Convenience method for when the schemaName is set but we don't want to parse the body |
| public ValidationErrors | validate(CreateProcedureStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain)
Implements liquibase. Validate the data contained in the SqlStatement. |
| CreateProcedureGenerator | back to summary |
|---|---|
| public CreateProcedureGenerator() | |
| addSchemaToText | back to summary |
|---|---|
| public static String addSchemaToText(String procedureText, String schemaName, String keywordBeforeName, Database database) Convenience method for other classes similar to this that want to be able to modify the procedure text to add the schema | |
| generateSql | back to summary |
|---|---|
| public Sql[] generateSql(CreateProcedureStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain) Implements liquibase. Doc from liquibase. Generate the actual Sql for the given statement and database.
| |
| removeTrailingDelimiter | back to summary |
|---|---|
| public static String removeTrailingDelimiter(String procedureText, String endDelimiter) | |
| supports | back to summary |
|---|---|
| public boolean supports(CreateProcedureStatement statement, Database database) Overrides liquibase. Implements liquibase. Doc from liquibase. Does this generator support the given statement/database combination? Do not validate the statement with this method, only return if it can support it.
| |
| surroundWithSchemaSets | back to summary |
|---|---|
| public static void surroundWithSchemaSets(List<Sql> sql, String schemaName, Database database) Convenience method for when the schemaName is set but we don't want to parse the body | |
| validate | back to summary |
|---|---|
| public ValidationErrors validate(CreateProcedureStatement statement, Database database, SqlGeneratorChain<T extends SqlStatement> sqlGeneratorChain) Implements liquibase. Doc from liquibase. Validate the data contained in the SqlStatement. If there are no errors, return an empty ValidationErrors object, not a null value. Liquibase will inspect the ValidationErrors result before attempting to call generateSql.
| |