Class FirebirdParser


  • public class FirebirdParser
    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

      Constructors 
      Constructor Description
      FirebirdParser​(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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)  
      protected org.flywaydb.core.internal.parser.Token handleKeyword​(org.flywaydb.core.internal.parser.PeekingReader reader, org.flywaydb.core.internal.parser.ParserContext context, int pos, int line, int col, java.lang.String keyword)  
      protected boolean isAlternativeStringLiteral​(java.lang.String peek)  
      protected void resetDelimiter​(org.flywaydb.core.internal.parser.ParserContext context)  
      • Methods inherited from class org.flywaydb.core.internal.parser.Parser

        adjustBlockDepth, adjustDelimiter, createStatement, detectCanExecuteInTransaction, detectStatementType, doTokensMatchPattern, getAlternativeIdentifierQuote, getAlternativeStringLiteralQuote, getClosingIdentifierSymbol, getDefaultDelimiter, getIdentifierQuote, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleCommentDirective, handleDelimiter, handleStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, shouldAdjustBlockDepth, shouldDiscard, supportsPeekingMultipleLines, supportsReferencedSqlScripts, tokenAtIndexIs
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FirebirdParser

        public FirebirdParser​(org.flywaydb.core.api.configuration.Configuration configuration,
                              org.flywaydb.core.internal.parser.ParsingContext parsingContext)
    • Method Detail

      • handleKeyword

        protected org.flywaydb.core.internal.parser.Token handleKeyword​(org.flywaydb.core.internal.parser.PeekingReader reader,
                                                                        org.flywaydb.core.internal.parser.ParserContext context,
                                                                        int pos,
                                                                        int line,
                                                                        int col,
                                                                        java.lang.String keyword)
                                                                 throws java.io.IOException
        Overrides:
        handleKeyword in class org.flywaydb.core.internal.parser.Parser
        Throws:
        java.io.IOException
      • resetDelimiter

        protected void resetDelimiter​(org.flywaydb.core.internal.parser.ParserContext context)
        Overrides:
        resetDelimiter in class org.flywaydb.core.internal.parser.Parser
      • isAlternativeStringLiteral

        protected boolean isAlternativeStringLiteral​(java.lang.String peek)
        Overrides:
        isAlternativeStringLiteral in class org.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 java.io.IOException
        Overrides:
        handleAlternativeStringLiteral in class org.flywaydb.core.internal.parser.Parser
        Throws:
        java.io.IOException