| Package | Description |
|---|---|
| org.apache.calcite.prepare |
Preparation of queries (parsing, planning and implementation).
|
| org.apache.calcite.sql.validate |
SQL validation.
|
| org.apache.calcite.sql2rel |
Translates a SQL parse tree to relational expression.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Prepare.PreparingTable
Definition of a table, for the purposes of the validator and planner.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Prepare.AbstractPreparingTable
Abstract implementation of
Prepare.PreparingTable with an implementation
for Prepare.AbstractPreparingTable.columnHasDefaultValue(org.apache.calcite.rel.type.RelDataType, int, org.apache.calcite.sql2rel.InitializerContext). |
class |
RelOptTableImpl
Implementation of
RelOptTable. |
| Modifier and Type | Class and Description |
|---|---|
class |
DelegatingSqlValidatorTable
Implements
SqlValidatorTable by
delegating to a parent table. |
| Modifier and Type | Field and Description |
|---|---|
protected SqlValidatorTable |
DelegatingSqlValidatorTable.table |
private SqlValidatorTable |
TableNamespace.table |
| Modifier and Type | Method and Description |
|---|---|
SqlValidatorTable |
SelectScope.getTable() |
SqlValidatorTable |
AbstractNamespace.getTable() |
SqlValidatorTable |
DelegatingNamespace.getTable() |
SqlValidatorTable |
SqlValidatorNamespace.getTable()
Returns the underlying table, or null if there is none.
|
SqlValidatorTable |
TableNamespace.getTable() |
SqlValidatorTable |
IdentifierNamespace.getTable() |
SqlValidatorTable |
DelegatingSqlValidatorCatalogReader.getTable(List<String> names) |
SqlValidatorTable |
SqlValidatorCatalogReader.getTable(List<String> names)
Finds a table or schema with the given name, possibly qualified.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
SqlValidatorImpl.checkConstraint(SqlValidatorTable validatorTable,
SqlNode source,
RelDataType targetRowType)
Validates insert values against the constraint of a modifiable view.
|
private void |
SqlValidatorImpl.checkConstraint(SqlValidatorTable validatorTable,
SqlUpdate update,
RelDataType targetRowType)
Validates updates against the constraint of a modifiable view.
|
private void |
SqlValidatorImpl.checkFieldCount(SqlNode node,
SqlValidatorTable table,
SqlNode source,
RelDataType logicalSourceRowType,
RelDataType logicalTargetRowType) |
protected RelDataType |
SqlValidatorImpl.createTargetRowType(SqlValidatorTable table,
SqlNodeList targetColumnList,
boolean append)
Derives a row-type for INSERT and UPDATE operations.
|
static List<RelDataTypeField> |
SqlValidatorUtil.getExtendedColumns(RelDataTypeFactory typeFactory,
SqlValidatorTable table,
SqlNodeList extendedColumns)
Gets a list of extended columns with field indices to the underlying table.
|
private void |
SqlValidatorImpl.validateAccess(SqlNode node,
SqlValidatorTable table,
SqlAccessEnum requiredAccess)
Validates access to a table.
|
| Constructor and Description |
|---|
DelegatingSqlValidatorTable(SqlValidatorTable table)
Creates a DelegatingSqlValidatorTable.
|
TableNamespace(SqlValidatorImpl validator,
SqlValidatorTable table) |
TableNamespace(SqlValidatorImpl validator,
SqlValidatorTable table,
List<RelDataTypeField> fields)
Creates a TableNamespace.
|
| Modifier and Type | Method and Description |
|---|---|
private InitializerExpressionFactory |
SqlToRelConverter.getInitializerFactory(SqlValidatorTable validatorTable) |
Copyright © 2012–2018 The Apache Software Foundation. All rights reserved.