Package org.apache.calcite.sql.ddl
package org.apache.calcite.sql.ddl
Parse tree for SQL DDL statements.
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.
-
ClassDescriptionParse tree for SqlAttributeDefinition, which is part of a
SqlCreateType
.Parse tree forUNIQUE
,PRIMARY KEY
constraints.Parse tree forUNIQUE
,PRIMARY KEY
constraints.Parse tree forCREATE FOREIGN SCHEMA
statement.Parse tree forCREATE FUNCTION
statement.Parse tree forCREATE MATERIALIZED VIEW
statement.Parse tree forCREATE SCHEMA
statement.Parse tree forCREATE TABLE
statement.Parse tree forCREATE TABLE LIKE
statement.The LikeOption specify which additional properties of the original table to copy.Parse tree forCREATE TYPE
statement.Parse tree forCREATE VIEW
statement.Utilities concerningSqlNode
for DDL.File type for CREATE FUNCTION.Parse tree forDROP FUNCTION
statement.Parse tree forDROP MATERIALIZED VIEW
statement.Base class for parse trees ofDROP TABLE
,DROP VIEW
,DROP MATERIALIZED VIEW
andDROP TYPE
statements.Parse tree forDROP SCHEMA
statement.Parse tree forDROP TABLE
statement.Parse tree forDROP TYPE
statement.Parse tree forDROP VIEW
statement.Parse tree forUNIQUE
,PRIMARY KEY
constraints.Parse tree forTRUNCATE TABLE
statement.