Class FirebirdParser

java.lang.Object
org.flywaydb.core.internal.parser.Parser
org.flywaydb.database.firebird.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

    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, String keyword)
     
    protected boolean
     
    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, handleMultilineComment, 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 Details

    • FirebirdParser

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

    • 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, String keyword) throws IOException
      Overrides:
      handleKeyword in class org.flywaydb.core.internal.parser.Parser
      Throws:
      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(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 IOException
      Overrides:
      handleAlternativeStringLiteral in class org.flywaydb.core.internal.parser.Parser
      Throws:
      IOException