| Package | Description |
|---|---|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.sql.advise |
Provides hints and corrections for editing SQL statements.
|
| org.apache.calcite.sql.parser |
Provides a SQL parser.
|
| org.apache.calcite.sql.parser.impl |
Contains generated code for the
Calcite SQL parser. |
| org.apache.calcite.tools |
Provides utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
PlannerImpl.parse(String sql) |
| Modifier and Type | Method and Description |
|---|---|
protected SqlNode |
SqlAdvisor.parseQuery(String sql)
Wrapper function to parse a SQL query (SELECT or VALUES, but not INSERT,
UPDATE, DELETE, CREATE, DROP etc.), throwing a
SqlParseException
if the statement is not syntactically valid. |
| Modifier and Type | Method and Description |
|---|---|
abstract SqlParseException |
SqlAbstractParserImpl.normalizeException(Throwable ex)
Removes or transforms misleading information from a parse exception or
error, and converts to
SqlParseException. |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
SqlParser.parseExpression()
Parses a SQL expression.
|
SqlNode |
SqlParser.parseQuery()
Parses a
SELECT statement. |
SqlNode |
SqlParser.parseStmt()
Parses an SQL statement.
|
| Modifier and Type | Method and Description |
|---|---|
SqlParseException |
SqlParserImpl.normalizeException(Throwable ex) |
| Modifier and Type | Method and Description |
|---|---|
SqlNode |
Planner.parse(String sql)
Parses and validates a SQL statement.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.