| Class | Description |
|---|---|
| SqlAttributeDefinition |
Parse tree for SqlAttributeDefinition,
which is part of a
SqlCreateType. |
| SqlCheckConstraint |
Parse tree for
UNIQUE, PRIMARY KEY constraints. |
| SqlColumnDeclaration |
Parse tree for
UNIQUE, PRIMARY KEY constraints. |
| SqlCreateForeignSchema |
Parse tree for
CREATE FOREIGN SCHEMA statement. |
| SqlCreateFunction |
Parse tree for
CREATE FUNCTION statement. |
| SqlCreateMaterializedView |
Parse tree for
CREATE MATERIALIZED VIEW statement. |
| SqlCreateMaterializedView.MaterializedViewTable |
A table that implements a materialized view.
|
| SqlCreateSchema |
Parse tree for
CREATE SCHEMA statement. |
| SqlCreateTable |
Parse tree for
CREATE TABLE statement. |
| SqlCreateTable.AbstractModifiableTable |
Abstract base class for implementations of
ModifiableTable. |
| SqlCreateTable.ColumnDef |
Column definition.
|
| SqlCreateTable.MutableArrayTable |
Table backed by a Java list.
|
| SqlCreateType |
Parse tree for
CREATE TYPE statement. |
| SqlCreateView |
Parse tree for
CREATE VIEW statement. |
| SqlDdlNodes |
Utilities concerning
SqlNode for DDL. |
| SqlDropFunction |
Parse tree for
DROP FUNCTION statement. |
| SqlDropMaterializedView |
Parse tree for
DROP MATERIALIZED VIEW statement. |
| SqlDropObject |
Base class for parse trees of
DROP TABLE, DROP VIEW,
DROP MATERIALIZED VIEW and DROP TYPE statements. |
| SqlDropSchema |
Parse tree for
DROP TABLE statement. |
| SqlDropTable |
Parse tree for
DROP TABLE statement. |
| SqlDropType |
Parse tree for
DROP TYPE statement. |
| SqlDropView |
Parse tree for
DROP VIEW statement. |
| SqlKeyConstraint |
Parse tree for
UNIQUE, PRIMARY KEY constraints. |
| Enum | Description |
|---|---|
| SqlDdlNodes.FileType |
File type for CREATE FUNCTION.
|
These are available in the extended SQL parser that is part of Calcite's "server" module; the core parser in the "core" module only supports SELECT and DML.
If you are writing a project that requires DDL it is likely that your DDL syntax is different than ours. We recommend that you copy-paste this the parser and its supporting classes into your own module, rather than try to extend this one.
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.