User-defined Type wizards
Wizards for generating valid CQL statements that create, edit, or clone a new UDT in a cluster.
DataStax DevCenter is compatible with DataStax Enterprise (DSE) versions up to 5.0.
The New User-defined Type and the associated Edit User-defined Type and Clone User-defined Type wizards generate valid CQL statements that create, edit, or clone a new UDT in the specified cluster.
New User-defined Type wizard
- select the menu item
- right-click in the schema navigator and select New User-defined Type
- press the key shortcut ⌥⇧+⌘+U(Mac OS X) or Ctrl+Alt+Shift+U (Linux / Windows)
The first panel (Basic Settings) of the New User-defined Type wizard displays. There are two panes on this panel: one that displays UDT settings and allows editing of them, and a CQL Preview pane that displays the CQL statement for creating the UDT generated from the values in the first pane.
- Connection
- choose an existing connection or create a new one
- Keyspace
- choose an existing keyspace or create a new one
- Type name
- type a valid type name
- Fields
- add valid type names and types for the UDT's fields
After selecting Next, the second panel (Summary) of the User-defined Type wizard displays.
- Whether to execute the generated statement(s) using the current connection or not
- Whether to insert the generated statement(s) into
- a new CQL editor pane
- an existing CQL editor pane
Both panels have an uneditable CQL preview pane showing the CQL statement to be generated according to the current values of the wizard's editable fields.
Edit and Clone User Type wizards
The Edit User Type and Clone User Type wizards have the same GUI panels as the New User Type wizard, but they load the constituent data in the fields so you can edit or clone a UDT.