Class TableColumnDefinitionSetUserDefined
java.lang.Object
com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
com.datastax.astra.client.tables.definition.columns.TableColumnDefinitionSetUserDefined
Represents a column definition for a list type in a database schema.
Extends
TableColumnDefinition to include details about the type of elements stored in the list.
This class is used to configure columns of type TableColumnTypes.LIST, allowing the specification
of the data type for the values stored in the list.
Example usage:
ColumnDefinitionList listColumn = new ColumnDefinitionList(ColumnTypes.TEXT);
ColumnTypes valueType = listColumn.getValueType();
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newTableColumnDefinitionSetUserDefinedinstance with the column type initialized toTableColumnTypes.LIST, representing a list of user-defined types (UDTs). -
Method Summary
Methods inherited from class com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
toString
-
Constructor Details
-
TableColumnDefinitionSetUserDefined
Constructs a newTableColumnDefinitionSetUserDefinedinstance with the column type initialized toTableColumnTypes.LIST, representing a list of user-defined types (UDTs).This constructor is used when defining a column that holds a list of values based on a specific user-defined type.
- Parameters:
udtName- the name of the user-defined type that defines the structure of the list elements; must not benull
-