Class SpannerParser


  • public class SpannerParser
    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
      SpannerParser​(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 java.lang.Boolean detectCanExecuteInTransaction​(java.lang.String simplifiedStatement, java.util.List<org.flywaydb.core.internal.parser.Token> keywords)  
      protected char getAlternativeIdentifierQuote()  
      protected char getIdentifierQuote()  
      • Methods inherited from class org.flywaydb.core.internal.parser.Parser

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

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

      • SpannerParser

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

      • getIdentifierQuote

        protected char getIdentifierQuote()
        Overrides:
        getIdentifierQuote in class org.flywaydb.core.internal.parser.Parser
      • getAlternativeIdentifierQuote

        protected char getAlternativeIdentifierQuote()
        Overrides:
        getAlternativeIdentifierQuote in class org.flywaydb.core.internal.parser.Parser
      • detectCanExecuteInTransaction

        protected java.lang.Boolean detectCanExecuteInTransaction​(java.lang.String simplifiedStatement,
                                                                  java.util.List<org.flywaydb.core.internal.parser.Token> keywords)
        Overrides:
        detectCanExecuteInTransaction in class org.flywaydb.core.internal.parser.Parser