Table of Contents

Class ColumnVectorAttribute

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

Marks a column as a vector column with a specified number of dimensions.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field, AllowMultiple = false)]
public class ColumnVectorAttribute : Attribute, _Attribute
Inheritance
ColumnVectorAttribute
Implements
Inherited Members

Constructors

ColumnVectorAttribute(int)

Initializes a new instance of ColumnVectorAttribute with the specified dimension.

public ColumnVectorAttribute(int dimension)

Parameters

dimension int

The number of dimensions for the vector column.

Properties

Dimension

The number of dimensions for the vector column.

public int Dimension { get; set; }

Property Value

int