Class SqlMultiLineParser
- java.lang.Object
-
- org.jline.reader.impl.DefaultParser
-
- org.apache.flink.table.client.cli.parser.SqlMultiLineParser
-
- All Implemented Interfaces:
org.jline.reader.Parser
public class SqlMultiLineParser extends org.jline.reader.impl.DefaultParserMulti-line parser for parsing an arbitrary number of SQL lines until a line ends with ';'.Quoting and escaping are disabled for now.
-
-
Constructor Summary
Constructors Constructor Description SqlMultiLineParser(SqlCommandParser parser, Executor executor, CliClient.ExecutionMode mode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringformatSqlFile(String content)PrintergetPrinter()org.jline.reader.ParsedLineparse(String line, int cursor, org.jline.reader.Parser.ParseContext context)-
Methods inherited from class org.jline.reader.impl.DefaultParser
commandGroup, eofOnEscapedNewLine, eofOnUnclosedBracket, eofOnUnclosedQuote, escapeChars, getCommand, getEscapeChars, getQuoteChars, getVariable, isDelimiter, isDelimiterChar, isEofOnEscapedNewLine, isEofOnUnclosedQuote, isEscapeChar, isEscapeChar, isEscaped, isQuoteChar, isQuoted, quoteChars, regexCommand, regexVariable, setCommandGroup, setEofOnEscapedNewLine, setEofOnUnclosedBracket, setEofOnUnclosedQuote, setEscapeChars, setQuoteChars, setRegexCommand, setRegexVariable, validCommandName, validVariableName
-
-
-
-
Constructor Detail
-
SqlMultiLineParser
public SqlMultiLineParser(SqlCommandParser parser, Executor executor, CliClient.ExecutionMode mode)
-
-