Table of Contents

Class AlterTableAddVectorColumns

Namespace
DataStax.AstraDB.DataApi.Tables
Assembly
DataStax.AstraDB.DataApi.dll

Represents an operation to add vector columns to a table.

public class AlterTableAddVectorColumns : IAlterTableOperation
Inheritance
AlterTableAddVectorColumns
Implements
Inherited Members

Constructors

AlterTableAddVectorColumns(Dictionary<string, AlterTableVectorColumnDefinition>)

Initializes a new instance with the specified vector columns.

public AlterTableAddVectorColumns(Dictionary<string, AlterTableVectorColumnDefinition> columns)

Parameters

columns Dictionary<string, AlterTableVectorColumnDefinition>

The vector columns to add.

Properties

Columns

Gets the vector columns to be added.

public Dictionary<string, AlterTableVectorColumnDefinition> Columns { get; }

Property Value

Dictionary<string, AlterTableVectorColumnDefinition>

Methods

ToJsonFragment()

Converts the operation to its JSON representation.

public object ToJsonFragment()

Returns

object

A serializable object representing the operation.