OmniSciDB  8fa3bf436f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType Enum Reference

Public Attributes

 RENAME_TABLE
 
 RENAME_COLUMN
 
 ADD_COLUMN
 
 DROP_COLUMN
 
 ALTER_OPTIONS
 

Detailed Description

ALTER TABLE DDL syntax variants:

SET OPTIONS: ALTER TABLE

SET (<option> =

[, ... ] ) ] RENAME TABLE ALTER TABLE

TO <new_table> RENAME COLUMN: ALTER TABLE

<column> to <new_column> ADD COLUMN: ALTER TABLE

[COLUMN] <column> <type> [NOT NULL] [ENCODING <encodingSpec>]; ALTER TABLE

(<column> <type> [NOT NULL] [ENCODING <encodingSpec>], ...); ALTER TABLE

(<column> <type> DEFAULT

); DROP COLUMN: ALTER TABLE

COLUMN <column_1>[, <column_2>, ...];

Definition at line 66 of file SqlAlterTable.java.

Member Data Documentation

com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.ADD_COLUMN
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.ALTER_OPTIONS
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.DROP_COLUMN
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.RENAME_COLUMN
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.RENAME_TABLE

The documentation for this enum was generated from the following file: