Class ColumnDefinitionSet
java.lang.Object
com.datastax.astra.client.tables.definition.columns.ColumnDefinition
com.datastax.astra.client.tables.definition.columns.ColumnDefinitionSet
Represents a column definition for a set type in a database schema.
Extends
ColumnDefinition
to include details about the type of elements stored in the set.
This class is used to configure columns of type ColumnTypes.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
ConstructorDescriptionConstructs a newColumnDefinitionSet
instance with the column type set toColumnTypes.SET
.ColumnDefinitionSet
(ColumnTypes valueType) Constructs a newColumnDefinitionSet
instance with the specified value type. -
Method Summary
Methods inherited from class com.datastax.astra.client.tables.definition.columns.ColumnDefinition
toString
-
Constructor Details
-
ColumnDefinitionSet
public ColumnDefinitionSet()Constructs a newColumnDefinitionSet
instance with the column type set toColumnTypes.SET
. -
ColumnDefinitionSet
Constructs a newColumnDefinitionSet
instance with the specified value type.- Parameters:
valueType
- the data type of the values in the set
-