Interface IWithPartitionKey
- Namespace
- Microsoft.Azure.Management.CosmosDB.Fluent.CassandraTable.Update
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
The stage of a Cassandra table update allowing to set partition keys.
public interface IWithPartitionKey
Methods
WithPartitionKey(CassandraPartitionKey)
Specifies a Cassandra table partition key.
IUpdate WithPartitionKey(CassandraPartitionKey partitionKey)
Parameters
partitionKey
CassandraPartitionKeyThe Cassandra table partition key.
Returns
- IUpdate
The next stage of the update.
WithPartitionKey(string)
Specifies a Cassandra partition key.
IUpdate WithPartitionKey(string name)
Parameters
name
stringThe name of the Cassandra partition key.
Returns
- IUpdate
The next stage of the update.
WithPartitionKeysAppend(IList<CassandraPartitionKey>)
Appends all partition keys.
IUpdate WithPartitionKeysAppend(IList<CassandraPartitionKey> partitionKeys)
Parameters
partitionKeys
IList<CassandraPartitionKey>The list of the Cassandra table partition key.
Returns
- IUpdate
The next stage of the update.
WithPartitionKeysReplace(IList<CassandraPartitionKey>)
Replaces the partition keys.
IUpdate WithPartitionKeysReplace(IList<CassandraPartitionKey> partitionKeys)
Parameters
partitionKeys
IList<CassandraPartitionKey>The list of the Cassandra table partition key.
Returns
- IUpdate
The next stage of the update.
WithoutPartitionKey(string)
Removes a Cassandra partition key.
IUpdate WithoutPartitionKey(string name)
Parameters
name
stringThe name of the Cassandra partition key.
Returns
- IUpdate
The next stage of the update.
WithoutPartitionKeys()
Removes all partition keys.
IUpdate WithoutPartitionKeys()
Returns
- IUpdate
The next stage of the update.