@Internal
public interface Parser
| Modifier and Type | Method and Description |
|---|---|
List<Operation> |
parse(String statement)
Entry point for parsing SQL queries expressed as a String.
|
org.apache.flink.table.catalog.UnresolvedIdentifier |
parseIdentifier(String identifier)
Entry point for parsing SQL identifiers expressed as a String.
|
List<Operation> parse(String statement)
Note:If the created Operation is a QueryOperation
it must be in a form that will be understood by the
Planner.translate(List) method.
The produced Operation trees should already be validated.
statement - the SQL statement to evaluateOperationsSqlParserException - when failed to parse the statementorg.apache.flink.table.catalog.UnresolvedIdentifier parseIdentifier(String identifier)
identifier - the SQL identifier to parseSqlParserException - when failed to parse the identifierCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.