| 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.validate |
SQL validation.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Prepare.CatalogReader
Interface by which validator and planner can read table metadata.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalciteCatalogReader
Implementation of
Prepare.CatalogReader
and also SqlOperatorTable based on tables and
functions defined schemas. |
| Constructor and Description |
|---|
SqlAdvisorValidator(SqlOperatorTable opTab,
SqlValidatorCatalogReader catalogReader,
RelDataTypeFactory typeFactory,
SqlConformance conformance)
Creates a SqlAdvisor validator.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSqlValidatorCatalogReader
Implementation of
SqlValidatorCatalogReader that passes
all calls to a parent catalog reader. |
| Modifier and Type | Field and Description |
|---|---|
protected SqlValidatorCatalogReader |
DelegatingSqlValidatorCatalogReader.catalogReader |
| Modifier and Type | Method and Description |
|---|---|
SqlValidatorCatalogReader |
SqlValidatorImpl.getCatalogReader() |
SqlValidatorCatalogReader |
SqlValidator.getCatalogReader()
Returns the catalog reader used by this validator.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SqlValidatorUtil.getSchemaObjectMonikers(SqlValidatorCatalogReader catalogReader,
List<String> names,
List<SqlMoniker> hints) |
static SqlValidatorWithHints |
SqlValidatorUtil.newValidator(SqlOperatorTable opTab,
SqlValidatorCatalogReader catalogReader,
RelDataTypeFactory typeFactory)
Factory method for
SqlValidator. |
| Constructor and Description |
|---|
DelegatingSqlValidatorCatalogReader(SqlValidatorCatalogReader catalogReader)
Creates a DelegatingSqlValidatorCatalogReader.
|
SqlValidatorImpl(SqlOperatorTable opTab,
SqlValidatorCatalogReader catalogReader,
RelDataTypeFactory typeFactory,
SqlConformance conformance)
Creates a validator.
|
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.