Class SAPHANAParser

java.lang.Object
org.flywaydb.core.internal.parser.Parser
org.flywaydb.database.saphana.SAPHANAParser

public class SAPHANAParser 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
    SAPHANAParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    protected org.flywaydb.core.internal.parser.StatementType
    detectStatementType(String simplifiedStatement, org.flywaydb.core.internal.parser.ParserContext context, org.flywaydb.core.internal.parser.PeekingReader reader)
     
    protected boolean
    shouldAdjustBlockDepth(org.flywaydb.core.internal.parser.ParserContext context, List<org.flywaydb.core.internal.parser.Token> tokens, org.flywaydb.core.internal.parser.Token token)
     

    Methods inherited from class org.flywaydb.core.internal.parser.Parser

    adjustDelimiter, createStatement, detectCanExecuteInTransaction, doTokensMatchPattern, getAdditionalParsingErrorInfo, getAlternativeIdentifierQuote, getAlternativeStringLiteralQuote, getClosingIdentifierSymbol, getDefaultDelimiter, getIdentifierQuote, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleAlternativeStringLiteral, handleCommentDirective, handleDelimiter, handleKeyword, handleMultilineComment, handleStringLiteral, isAlternativeStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, resetDelimiter, shouldDiscard, supportsPeekingMultipleLines, supportsReferencedSqlScripts, tokenAtIndexIs

    Methods inherited from class java.lang.Object

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

    • SAPHANAParser

      public SAPHANAParser(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:
      detectStatementType in class org.flywaydb.core.internal.parser.Parser
    • shouldAdjustBlockDepth

      protected boolean shouldAdjustBlockDepth(org.flywaydb.core.internal.parser.ParserContext context, List<org.flywaydb.core.internal.parser.Token> tokens, org.flywaydb.core.internal.parser.Token token)
      Overrides:
      shouldAdjustBlockDepth in class org.flywaydb.core.internal.parser.Parser
    • 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) throws IOException
      Overrides:
      adjustBlockDepth in class org.flywaydb.core.internal.parser.Parser
      Throws:
      IOException