Package org.flywaydb.database.redshift
Class RedshiftParser
java.lang.Object
org.flywaydb.core.internal.parser.Parser
org.flywaydb.database.redshift.RedshiftParser
public class RedshiftParser
extends org.flywaydb.core.internal.parser.Parser
-
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
ConstructorsConstructorDescriptionRedshiftParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected BooleandetectCanExecuteInTransaction(String simplifiedStatement, List<org.flywaydb.core.internal.parser.Token> keywords) protected charprotected org.flywaydb.core.internal.parser.TokenhandleAlternativeStringLiteral(org.flywaydb.core.internal.parser.PeekingReader reader, org.flywaydb.core.internal.parser.ParserContext context, int pos, int line, int col) Methods inherited from class org.flywaydb.core.internal.parser.Parser
adjustBlockDepth, adjustDelimiter, createStatement, detectStatementType, doTokensMatchPattern, getAdditionalParsingErrorInfo, getAlternativeIdentifierQuote, getClosingIdentifierSymbol, getDefaultDelimiter, getIdentifierQuote, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleCommentDirective, handleDelimiter, handleKeyword, handleMultilineComment, handleStringLiteral, isAlternativeStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, resetDelimiter, shouldAdjustBlockDepth, shouldDiscard, supportsPeekingMultipleLines, supportsReferencedSqlScripts, tokenAtIndexIs
-
Constructor Details
-
RedshiftParser
public RedshiftParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext)
-
-
Method Details
-
getAlternativeStringLiteralQuote
protected char getAlternativeStringLiteralQuote()- Overrides:
getAlternativeStringLiteralQuotein classorg.flywaydb.core.internal.parser.Parser
-
detectCanExecuteInTransaction
protected Boolean detectCanExecuteInTransaction(String simplifiedStatement, List<org.flywaydb.core.internal.parser.Token> keywords) - Overrides:
detectCanExecuteInTransactionin classorg.flywaydb.core.internal.parser.Parser
-
handleAlternativeStringLiteral
protected org.flywaydb.core.internal.parser.Token handleAlternativeStringLiteral(org.flywaydb.core.internal.parser.PeekingReader reader, org.flywaydb.core.internal.parser.ParserContext context, int pos, int line, int col) throws IOException - Overrides:
handleAlternativeStringLiteralin classorg.flywaydb.core.internal.parser.Parser- Throws:
IOException
-