Class MariaDBParser
java.lang.Object
org.flywaydb.core.internal.parser.Parser
org.flywaydb.database.mysql.MySQLParser
org.flywaydb.database.mysql.mariadb.MariaDBParser
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flywaydb.core.internal.parser.Parser
org.flywaydb.core.internal.parser.Parser.ParserSqlStatementIterator -
Field Summary
Fields inherited from class org.flywaydb.core.internal.parser.Parser
configuration, parsingContext -
Constructor Summary
ConstructorsConstructorDescriptionMariaDBParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustBlockDepth(org.flywaydb.core.internal.parser.ParserContext context, List<org.flywaydb.core.internal.parser.Token> tokens, org.flywaydb.core.internal.parser.Token keyword, org.flywaydb.core.internal.parser.PeekingReader reader) protected org.flywaydb.core.internal.parser.StatementTypedetectStatementType(String simplifiedStatement, org.flywaydb.core.internal.parser.ParserContext context, org.flywaydb.core.internal.parser.PeekingReader reader) Methods inherited from class org.flywaydb.database.mysql.MySQLParser
getAlternativeStringLiteralQuote, getIdentifierQuote, handleAlternativeStringLiteral, handleCommentDirective, handleKeyword, handleStringLiteral, isCommentDirective, isSingleLineComment, resetDelimiter, shouldAdjustBlockDepthMethods inherited from class org.flywaydb.core.internal.parser.Parser
adjustDelimiter, createStatement, detectCanExecuteInTransaction, doTokensMatchPattern, getAlternativeIdentifierQuote, getClosingIdentifierSymbol, getDefaultDelimiter, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleDelimiter, handleMultilineComment, isAlternativeStringLiteral, isDelimiter, isKeyword, isLetter, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, shouldDiscard, supportsPeekingMultipleLines, supportsReferencedSqlScripts, tokenAtIndexIs
-
Constructor Details
-
MariaDBParser
public MariaDBParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext)
-
-
Method Details
-
detectStatementType
protected org.flywaydb.core.internal.parser.StatementType detectStatementType(String simplifiedStatement, org.flywaydb.core.internal.parser.ParserContext context, org.flywaydb.core.internal.parser.PeekingReader reader) - Overrides:
detectStatementTypein classMySQLParser
-
adjustBlockDepth
protected void adjustBlockDepth(org.flywaydb.core.internal.parser.ParserContext context, List<org.flywaydb.core.internal.parser.Token> tokens, org.flywaydb.core.internal.parser.Token keyword, org.flywaydb.core.internal.parser.PeekingReader reader) - Overrides:
adjustBlockDepthin classMySQLParser
-