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 KEYconstraints.Parse tree forUNIQUE,PRIMARY KEYconstraints.Parse tree forCREATE FOREIGN SCHEMAstatement.Parse tree forCREATE FUNCTIONstatement.Parse tree forCREATE MATERIALIZED VIEWstatement.Parse tree forCREATE SCHEMAstatement.Parse tree forCREATE TABLEstatement.Parse tree forCREATE TABLE LIKEstatement.The LikeOption specify which additional properties of the original table to copy.Parse tree forCREATE TYPEstatement.Parse tree forCREATE VIEWstatement.Utilities concerningSqlNodefor DDL.File type for CREATE FUNCTION.Parse tree forDROP FUNCTIONstatement.Parse tree forDROP MATERIALIZED VIEWstatement.Base class for parse trees ofDROP TABLE,DROP VIEW,DROP MATERIALIZED VIEWandDROP TYPEstatements.Parse tree forDROP SCHEMAstatement.Parse tree forDROP TABLEstatement.Parse tree forDROP TYPEstatement.Parse tree forDROP VIEWstatement.Parse tree forUNIQUE,PRIMARY KEYconstraints.Parse tree forTRUNCATE TABLEstatement.