Table of Contents

Class CassandraSchema

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.Models
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

Cosmos DB Cassandra table schema

public class CassandraSchema
Inheritance
CassandraSchema
Inherited Members

Constructors

CassandraSchema()

Initializes a new instance of the CassandraSchema class.

public CassandraSchema()

CassandraSchema(IList<Column>, IList<CassandraPartitionKey>, IList<ClusterKey>)

Initializes a new instance of the CassandraSchema class.

public CassandraSchema(IList<Column> columns = null, IList<CassandraPartitionKey> partitionKeys = null, IList<ClusterKey> clusterKeys = null)

Parameters

columns IList<Column>

List of Cassandra table columns.

partitionKeys IList<CassandraPartitionKey>

List of partition key.

clusterKeys IList<ClusterKey>

List of cluster key.

Properties

ClusterKeys

Gets or sets list of cluster key.

public IList<ClusterKey> ClusterKeys { get; set; }

Property Value

IList<ClusterKey>

Columns

Gets or sets list of Cassandra table columns.

public IList<Column> Columns { get; set; }

Property Value

IList<Column>

PartitionKeys

Gets or sets list of partition key.

public IList<CassandraPartitionKey> PartitionKeys { get; set; }

Property Value

IList<CassandraPartitionKey>