Top Fields Constructors Methods
liquibase.parser.core.formattedsql

public Class FormattedSqlChangeLogParser

extends AbstractFormattedChangeLogParser
Class Inheritance
Imports
liquibase.change.AbstractSQLChange, liquibase.change.core.RawSQLChange, liquibase.changelog.ChangeLogParameters, .ChangeSet, liquibase.exception.ChangeLogParseException, liquibase.parser.AbstractFormattedChangeLogParser, liquibase.precondition.core.PreconditionContainer, .SqlPrecondition, liquibase.util.StringUtil, java.util.regex.Matcher, .Pattern

Field Summary

Modifier and TypeField and Description
private static final Pattern
private static final String
private static final Pattern
private static final String
Inherited from liquibase.parser.AbstractFormattedChangeLogParser:
ALT_CHANGE_SET_NO_OTHER_INFO_PATTERNALT_CHANGE_SET_NO_OTHER_INFO_REGEXALT_CHANGE_SET_ONE_CHARACTER_PATTERNALT_CHANGE_SET_ONE_CHARACTER_REGEXALT_COMMENT_ONE_CHARACTER_PATTERNALT_COMMENT_ONE_CHARACTER_REGEXALT_COMMENT_PLURAL_PATTERNALT_COMMENT_PLURAL_REGEXALT_IGNORE_LINES_ONE_CHARACTER_PATTERNALT_IGNORE_LINES_ONE_CHARACTER_REGEXALT_IGNORE_PATTERNALT_IGNORE_REGEXALT_PRECONDITION_ONE_CHARACTER_PATTERNALT_PRECONDITION_ONE_CHARACTER_REGEXALT_PRECONDITIONS_ONE_CHARACTER_PATTERNALT_PRECONDITIONS_ONE_CHARACTER_REGEXALT_PROPERTY_ONE_CHARACTER_PATTERNALT_PROPERTY_ONE_CHARACTER_REGEXALT_ROLLBACK_ONE_CHARACTER_PATTERNALT_ROLLBACK_ONE_CHARACTER_REGEXALT_VALID_CHECK_SUM_ONE_CHARACTER_PATTERNALT_VALID_CHECK_SUM_ONE_CHARACTER_REGEXCHANGE_SET_PATTERNCHANGE_SET_REGEXCOMMENT_PATTERNCOMMENT_REGEXCONTEXT_FILTER_PATTERNCONTEXT_FILTER_REGEXCONTEXT_PATTERNCONTEXT_REGEXDBMS_PATTERNDBMS_REGEXDOUBLE_QUOTE_RESULT_REGEXEND_DELIMITER_PATTERNEND_DELIMITER_REGEXEXCEPTION_MESSAGEFAIL_ON_ERROR_PATTERNFAIL_ON_ERROR_REGEXFIRST_LINE_PATTERNFIRST_LINE_REGEXGLOBAL_PATTERNGLOBAL_REGEXIGNORE_LINES_PATTERNIGNORE_LINES_REGEXIGNORE_PATTERNIGNORE_REGEXLABELS_PATTERNLABELS_REGEXLOGICAL_FILE_PATH_PATTERNLOGICAL_FILE_PATH_REGEXNAME_PATTERNNAME_REGEXON_ERROR_PATTERNON_ERROR_REGEXON_FAIL_PATTERNON_FAIL_REGEXPRECONDITION_PATTERNPRECONDITION_REGEXPRECONDITIONS_PATTERNPRECONDITIONS_REGEXPROPERTY_PATTERNPROPERTY_REGEXROLLBACK_CHANGE_SET_AUTHOR_PATTERNROLLBACK_CHANGE_SET_AUTHOR_REGEXROLLBACK_CHANGE_SET_ID_PATTERNROLLBACK_CHANGE_SET_ID_REGEXROLLBACK_CHANGE_SET_PATH_PATTERNROLLBACK_CHANGE_SET_PATH_REGEXROLLBACK_END_DELIMITER_PATTERNROLLBACK_END_DELIMITER_REGEXROLLBACK_MULTI_LINE_END_PATTERNROLLBACK_MULTI_LINE_END_REGEXROLLBACK_MULTI_LINE_START_PATTERNROLLBACK_MULTI_LINE_START_REGEXROLLBACK_PATTERNROLLBACK_REGEXROLLBACK_SPLIT_STATEMENTS_PATTERNROLLBACK_SPLIT_STATEMENTS_REGEXRUN_ALWAYS_PATTERNRUN_ALWAYS_REGEXRUN_IN_TRANSACTION_PATTERNRUN_IN_TRANSACTION_REGEXRUN_ON_CHANGE_PATTERNRUN_ON_CHANGE_REGEXRUN_WITH_PATTERNRUN_WITH_REGEXRUN_WITH_SPOOL_FILE_PATTERNRUN_WITH_SPOOL_FILE_REGEXSINGLE_QUOTE_RESULT_REGEXSPLIT_STATEMENTS_PATTERNSPLIT_STATEMENTS_REGEXSTRIP_COMMENTS_PATTERNSTRIP_COMMENTS_REGEXVALID_CHECK_SUM_PATTERNVALID_CHECK_SUM_REGEXVALUE_PATTERNVALUE_REGEXWORD_AND_QUOTING_PATTERNSWORD_RESULT_REGEX

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected AbstractSQLChange
protected String
protected String
protected String
protected String
protected String
protected void
protected void
protected boolean
private SqlPrecondition
protected void
protected void
protected boolean
Inherited from liquibase.parser.AbstractFormattedChangeLogParser:
configureChangeSetconfigureChangeSetconfigureChangeSetgetPriorityopenChangeLogFileparseparseStringsetLogicalFilePathsupports

Field Detail

ON_SQL_OUTPUT_PATTERNback to summary
private static final Pattern ON_SQL_OUTPUT_PATTERN
ON_SQL_OUTPUT_REGEXback to summary
private static final String ON_SQL_OUTPUT_REGEX
ON_UPDATE_SQL_PATTERNback to summary
private static final Pattern ON_UPDATE_SQL_PATTERN
ON_UPDATE_SQL_REGEXback to summary
private static final String ON_UPDATE_SQL_REGEX

Constructor Detail

FormattedSqlChangeLogParserback to summary
public FormattedSqlChangeLogParser()

Method Detail

getChangeback to summary
protected AbstractSQLChange getChange()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getChange.

Annotations
@Override
getEndMultiLineCommentSequenceback to summary
protected String getEndMultiLineCommentSequence()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getEndMultiLineCommentSequence.

Annotations
@Override
getSequenceNameback to summary
protected String getSequenceName()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getSequenceName.

Annotations
@Override
getSingleLineCommentOneCharacterback to summary
protected String getSingleLineCommentOneCharacter()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getSingleLineCommentOneCharacter.

Annotations
@Override
getSingleLineCommentSequenceback to summary
protected String getSingleLineCommentSequence()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getSingleLineCommentSequence.

Annotations
@Override
getStartMultiLineCommentSequenceback to summary
protected String getStartMultiLineCommentSequence()

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.getStartMultiLineCommentSequence.

Annotations
@Override
handlePreconditionCaseback to summary
protected void handlePreconditionCase(ChangeLogParameters changeLogParameters, ChangeSet changeSet, Matcher preconditionMatcher) throws ChangeLogParseException

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.handlePreconditionCase.

Annotations
@Override
handlePreconditionsCaseback to summary
protected void handlePreconditionsCase(ChangeSet changeSet, int count, Matcher preconditionsMatcher) throws ChangeLogParseException

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.handlePreconditionsCase.

Annotations
@Override
isNotEndDelimiterback to summary
protected boolean isNotEndDelimiter(AbstractSQLChange change)

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.isNotEndDelimiter.

Annotations
@Override
parseSqlCheckConditionback to summary
private SqlPrecondition parseSqlCheckCondition(String body) throws ChangeLogParseException
setChangeSequenceback to summary
protected void setChangeSequence(AbstractSQLChange change, String finalCurrentSequence)

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.setChangeSequence.

Annotations
@Override
setChangeSequenceback to summary
protected void setChangeSequence(ChangeLogParameters changeLogParameters, StringBuilder currentSequence, ChangeSet changeSet, AbstractSQLChange change)

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.setChangeSequence.

Annotations
@Override
supportsExtensionback to summary
protected boolean supportsExtension(String changelogFile)

Implements abstract liquibase.parser.AbstractFormattedChangeLogParser.supportsExtension.

Annotations
@Override