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

Public Attributes

 RENAME_TABLE
 
 RENAME_COLUMN
 
 ADD_COLUMN
 
 ALTER_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>, ...]; ALTER COLUMN: ALTER TABLE

[COLUMN] <column> [SET DATA] TYPE <type> [NOT NULL] [ENCODING <encodingSpec>]

Definition at line 74 of file SqlAlterTable.java.

Member Data Documentation

com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.ADD_COLUMN
com.mapd.parser.extension.ddl.SqlAlterTable.AlterType.ALTER_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: