Class TableColumnDefinitionSet
java.lang.Object
com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
com.datastax.astra.client.tables.definition.columns.TableColumnDefinitionSet
Represents a column definition for a set type in a database schema.
Extends
TableColumnDefinition to include details about the type of elements stored in the set.
This class is used to configure columns of type TableColumnTypes.SET, allowing the specification
of the data type for the values stored in the set.
Example usage:
ColumnDefinitionSet setColumn = new ColumnDefinitionSet(ColumnTypes.TEXT);
ColumnTypes valueType = setColumn.getValueType();
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newColumnDefinitionSetinstance with the column type set toTableColumnTypes.SET.TableColumnDefinitionSet(TableColumnTypes valueType) Constructs a newColumnDefinitionSetinstance with the specified value type. -
Method Summary
Methods inherited from class com.datastax.astra.client.tables.definition.columns.TableColumnDefinition
toString
-
Constructor Details
-
TableColumnDefinitionSet
public TableColumnDefinitionSet()Constructs a newColumnDefinitionSetinstance with the column type set toTableColumnTypes.SET. -
TableColumnDefinitionSet
Constructs a newColumnDefinitionSetinstance with the specified value type.- Parameters:
valueType- the data type of the values in the set
-