Table of Contents

Class PrimaryKeySort

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

Defines the sort order for a single clustering key column.

public class PrimaryKeySort
Inheritance
PrimaryKeySort
Inherited Members

Constructors

PrimaryKeySort(string, SortDirection)

Initializes a new instance of PrimaryKeySort with the specified key and sort direction.

public PrimaryKeySort(string key, SortDirection direction)

Parameters

key string

The column name of the clustering key.

direction SortDirection

The sort direction for this clustering key column.

Properties

Direction

The sort direction for this clustering key column.

public SortDirection Direction { get; set; }

Property Value

SortDirection

Key

The column name of the clustering key.

public string Key { get; set; }

Property Value

string