See: Description
| Class | Description |
|---|---|
| SqlAdvisor |
An assistant which offers hints and corrections to a partially-formed SQL
statement.
|
| SqlAdvisorGetHintsFunction |
Table function that returns completion hints for a given SQL statement.
|
| SqlAdvisorHint |
This class is used to return values for
(String, int, String[]). |
| SqlAdvisorValidator |
SqlAdvisorValidator is used by SqlAdvisor to traverse
the parse tree of a SQL statement, not for validation purpose but for setting
up the scopes and namespaces to facilitate retrieval of SQL statement
completion hints. |
| SqlSimpleParser |
A simple parser that takes an incomplete and turn it into a syntactically
correct statement.
|
| SqlSimpleParser.IdToken | |
| SqlSimpleParser.Token | |
| SqlSimpleParser.Tokenizer |
The SQL statement might be partially-formed SQL statement or invalid. It is edited in a SQL editor user-interface.
The advisor uses the validation and parser framework set up in
org.apache.calcite.sql.validate package.
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.