Class TableColumnDefinitionMapUserDefined
java.lang.Object
com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
com.datastax.astra.client.tables.definition.columns.TableColumnDefinitionMapUserDefined
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
ConstructorsConstructorDescriptionTableColumnDefinitionMapUserDefined(String udtName, TableColumnTypes keyType) Constructs a newColumnDefinitionListinstance with the column type set toTableColumnTypes.LIST. -
Method Summary
Methods inherited from class com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
toString
-
Constructor Details
-
TableColumnDefinitionMapUserDefined
Constructs a newColumnDefinitionListinstance with the column type set toTableColumnTypes.LIST.- Parameters:
udtName- name of the user defined typekeyType- type of keys for udt map.
-