Class CockroachDBParser
java.lang.Object
org.flywaydb.core.internal.parser.Parser
org.flywaydb.database.cockroachdb.CockroachDBParser
public class CockroachDBParser
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
ConstructorsConstructorDescriptionCockroachDBParser
(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected Boolean
detectCanExecuteInTransaction
(String simplifiedStatement, List<org.flywaydb.core.internal.parser.Token> keywords) protected char
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) Methods inherited from class org.flywaydb.core.internal.parser.Parser
adjustBlockDepth, adjustDelimiter, createStatement, detectStatementType, doTokensMatchPattern, getAlternativeIdentifierQuote, getClosingIdentifierSymbol, getDefaultDelimiter, getIdentifierQuote, getLastKeywordIndex, getLastKeywordIndex, getNextStatement, getOpeningIdentifierSymbol, getPreviousToken, getTransactionalDetectionCutoff, getValidKeywords, handleCommentDirective, handleDelimiter, handleKeyword, handleMultilineComment, handleStringLiteral, isAlternativeStringLiteral, isCommentDirective, isDelimiter, isKeyword, isLetter, isSingleLineComment, lastTokenIs, lastTokenIsOnLine, parse, parse, readIdentifier, readKeyword, replacePlaceholders, resetDelimiter, shouldAdjustBlockDepth, shouldDiscard, supportsPeekingMultipleLines, supportsReferencedSqlScripts, tokenAtIndexIs
-
Constructor Details
-
CockroachDBParser
public CockroachDBParser(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext)
-
-
Method Details
-
getAlternativeStringLiteralQuote
protected char getAlternativeStringLiteralQuote()- Overrides:
getAlternativeStringLiteralQuote
in classorg.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 classorg.flywaydb.core.internal.parser.Parser
- Throws:
IOException
-
detectCanExecuteInTransaction
protected Boolean detectCanExecuteInTransaction(String simplifiedStatement, List<org.flywaydb.core.internal.parser.Token> keywords) - Overrides:
detectCanExecuteInTransaction
in classorg.flywaydb.core.internal.parser.Parser
-