Class CassandraSchema
java.lang.Object
com.microsoft.azure.management.cosmosdb.CassandraSchema
Cosmos DB Cassandra table schema.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet list of cluster key.columns()
Get list of Cassandra table columns.Get list of partition key.withClusterKeys
(List<ClusterKey> clusterKeys) Set list of cluster key.withColumns
(List<Column> columns) Set list of Cassandra table columns.withPartitionKeys
(List<CassandraPartitionKey> partitionKeys) Set list of partition key.
-
Constructor Details
-
CassandraSchema
public CassandraSchema()
-
-
Method Details
-
columns
Get list of Cassandra table columns.- Returns:
- the columns value
-
withColumns
Set list of Cassandra table columns.- Parameters:
columns
- the columns value to set- Returns:
- the CassandraSchema object itself.
-
partitionKeys
Get list of partition key.- Returns:
- the partitionKeys value
-
withPartitionKeys
Set list of partition key.- Parameters:
partitionKeys
- the partitionKeys value to set- Returns:
- the CassandraSchema object itself.
-
clusterKeys
Get list of cluster key.- Returns:
- the clusterKeys value
-
withClusterKeys
Set list of cluster key.- Parameters:
clusterKeys
- the clusterKeys value to set- Returns:
- the CassandraSchema object itself.
-