Class SpannerParser
- java.lang.Object
-
- migratedb.v1.core.internal.parser.BaseParser
-
- migratedb.v1.core.internal.database.spanner.SpannerParser
-
- All Implemented Interfaces:
Parser
public class SpannerParser extends BaseParser
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class migratedb.v1.core.internal.parser.BaseParser
BaseParser.ParserSqlStatementIterator
-
-
Constructor Summary
Constructors Constructor Description SpannerParser(Configuration configuration, ParsingContext parsingContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected BooleandetectCanExecuteInTransaction(String simplifiedStatement, List<Token> keywords)protected chargetAlternativeIdentifierQuote()protected chargetIdentifierQuote()-
Methods inherited from class migratedb.v1.core.internal.parser.BaseParser
adjustBlockDepth, adjustDelimiter, closeAndAddSuppressed, createStatement, detectStatementType, doTokensMatchPattern, getAlternativeStringLiteralQuote, getClosingIdentifierSymbol, getConfiguration, getDefaultDelimiter, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getParsingContext, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleAlternativeStringLiteral, handleCommentDirective, handleDelimiter, handleKeyword, handleStringLiteral, isAlternativeStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, resetDelimiter, shouldAdjustBlockDepth, shouldDiscard, supportsPeekingMultipleLines, tokenAtIndexIs
-
-
-
-
Constructor Detail
-
SpannerParser
public SpannerParser(Configuration configuration, ParsingContext parsingContext)
-
-
Method Detail
-
getIdentifierQuote
protected char getIdentifierQuote()
- Overrides:
getIdentifierQuotein classBaseParser
-
getAlternativeIdentifierQuote
protected char getAlternativeIdentifierQuote()
- Overrides:
getAlternativeIdentifierQuotein classBaseParser
-
detectCanExecuteInTransaction
protected Boolean detectCanExecuteInTransaction(String simplifiedStatement, List<Token> keywords)
- Overrides:
detectCanExecuteInTransactionin classBaseParser
-
-