public class ExtendedParser extends Object
ExtendedParser is used for parsing some special command which can't supported by CalciteParser, e.g. SET key=value may contain special characters in key and value. It's
also a good idea to move some parsing strategy here to avoid introducing new reserved keywords.| 限定符和类型 | 字段和说明 |
|---|---|
static ExtendedParser |
INSTANCE |
| 构造器和说明 |
|---|
ExtendedParser() |
public static final ExtendedParser INSTANCE
public Optional<org.apache.flink.table.operations.Operation> parse(String statement)
Operation.statement - the command to evaluatepublic String[] getCompletionHints(String statement, int cursor)
statement - Partial or slightly incorrect SQL statementcursor - cursor positionCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.