Class SQLiteParser
java.lang.Object
migratedb.v1.core.internal.parser.BaseParser
migratedb.v1.core.internal.database.sqlite.SQLiteParser
- All Implemented Interfaces:
Parser
-
Nested Class Summary
Nested classes/interfaces inherited from class migratedb.v1.core.internal.parser.BaseParser
BaseParser.ParserSqlStatementIterator -
Field Summary
Fields inherited from class migratedb.v1.core.internal.parser.BaseParser
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidadjustBlockDepth(ParserContext context, List<Token> tokens, Token keyword, PeekingReader reader) protected BooleandetectCanExecuteInTransaction(String simplifiedStatement, List<Token> keywords) protected charMethods inherited from class migratedb.v1.core.internal.parser.BaseParser
adjustDelimiter, createStatement, detectStatementType, doTokensMatchPattern, getAlternativeStringLiteralQuote, getClosingIdentifierSymbol, getConfiguration, getDefaultDelimiter, getIdentifierQuote, 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 Details
-
SQLiteParser
-
-
Method Details
-
getAlternativeIdentifierQuote
protected char getAlternativeIdentifierQuote()- Overrides:
getAlternativeIdentifierQuotein classBaseParser
-
detectCanExecuteInTransaction
- Overrides:
detectCanExecuteInTransactionin classBaseParser
-
adjustBlockDepth
protected void adjustBlockDepth(ParserContext context, List<Token> tokens, Token keyword, PeekingReader reader) throws IOException - Overrides:
adjustBlockDepthin classBaseParser- Throws:
IOException
-