Package liquibase.util
Class StandardSqlParser
- java.lang.Object
-
- liquibase.util.StandardSqlParser
-
- All Implemented Interfaces:
LiquibaseSqlParser
,Plugin
public class StandardSqlParser extends Object implements LiquibaseSqlParser
-
-
Field Summary
-
Fields inherited from interface liquibase.plugin.Plugin
PRIORITY_DATABASE, PRIORITY_DEFAULT, PRIORITY_NOT_APPLICABLE, PRIORITY_SPECIALIZED
-
-
Constructor Summary
Constructors Constructor Description StandardSqlParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getPriority()
StringClauses
parse(String sqlBlock)
StringClauses
parse(String sqlBlock, boolean preserveWhitespace, boolean preserveComments)
StringClauses
parse(String sqlBlock, boolean preserveWhitespace, boolean preserveComments, ChangeSet changeSet)
-
-
-
Method Detail
-
parse
public StringClauses parse(String sqlBlock)
- Specified by:
parse
in interfaceLiquibaseSqlParser
-
parse
public StringClauses parse(String sqlBlock, boolean preserveWhitespace, boolean preserveComments)
- Specified by:
parse
in interfaceLiquibaseSqlParser
-
parse
public StringClauses parse(String sqlBlock, boolean preserveWhitespace, boolean preserveComments, ChangeSet changeSet)
- Specified by:
parse
in interfaceLiquibaseSqlParser
changeSet
- the changeset associated with the sql being parsed. If not null, the changeset identifying information should be included in any exceptions thrown if the sql cannot be parsed.
-
getPriority
public int getPriority()
- Specified by:
getPriority
in interfaceLiquibaseSqlParser
-
-