Table of Contents

Interface IWithPartitionKey<ParentT>

Namespace
Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Definition
Assembly
Microsoft.Azure.Management.CosmosDB.Fluent.dll

The stage of a Cassandra table definition allowing to set partition keys.

public interface IWithPartitionKey<ParentT>

Type Parameters

ParentT

The stage of the parent definition to return to after attaching this definition.

Methods

WithPartitionKey(CassandraPartitionKey)

Specifies a Cassandra table partition key.

IWithAttach<ParentT> WithPartitionKey(CassandraPartitionKey partitionKey)

Parameters

partitionKey CassandraPartitionKey

The Cassandra table partition key.

Returns

IWithAttach<ParentT>

The next stage of the definition.

WithPartitionKey(string)

Specifies a Cassandra partition key.

IWithAttach<ParentT> WithPartitionKey(string name)

Parameters

name string

The name of the Cassandra partition key.

Returns

IWithAttach<ParentT>

The next stage of the definition.

WithPartitionKeys(IList<CassandraPartitionKey>)

Appends all partition keys.

IWithAttach<ParentT> WithPartitionKeys(IList<CassandraPartitionKey> partitionKeys)

Parameters

partitionKeys IList<CassandraPartitionKey>

The list of the Cassandra table partition key.

Returns

IWithAttach<ParentT>

The next stage of the definition.