You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This quickstart shows how to use Java and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
24
-
25
-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
23
+
In this quickstart, you connect a Cassandra Java app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
26
24
27
25
## Prerequisites
28
26
29
-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
30
-
31
-
In addition, you need:
32
-
33
-
*[Java Development Kit (JDK) version 8](https://aka.ms/azure-jdks)
34
-
* Be sure to set the JAVA_HOME environment variable to point to the folder where the JDK is installed.
35
-
*[Download](https://maven.apache.org/download.cgi) and [install](https://maven.apache.org/install.html) a [Maven](https://maven.apache.org/) binary archive
36
-
* On Ubuntu, you can run `apt-get install maven` to install Maven.
37
-
*[Git](https://www.git-scm.com/)
38
-
* On Ubuntu, you can run `sudo apt-get install git` to install Git.
27
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
28
+
-[Java Development Kit (JDK) version 8](https://aka.ms/azure-jdks). Point your `JAVA_HOME` environment variable to the folder where the JDK is installed.
29
+
- A [Maven](https://maven.apache.org/download.cgi) binary archive. On Linux, you can run `apt-get install maven` to install Maven.
30
+
-[Git](https://www.git-scm.com/). On Linux, you can run `apt-get install git` to install Git.
39
31
40
32
## Create a database account
41
33
@@ -145,7 +137,7 @@ The following snippets are from the *src/main/java/com/azure/cosmosdb/cassandra/
145
137
146
138
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string details enable your app to communicate with your hosted database.
147
139
148
-
1. In the [Azure portal](https://portal.azure.com/), select**Connection String**.
140
+
1. In your Azure Cosmos DB account inthe [Azure portal](https://portal.azure.com/), select**Connection String**.
149
141
150
142

151
143
@@ -199,7 +191,7 @@ Now go back to the Azure portal to get your connection string information and co
199
191
200
192
The terminal window displays notifications that the keyspace and table are created. It then selects and returns all users in the table and displays the output, and then selects a row by ID and displays the value.
201
193
202
-
Select **CTRL + C** to stop execution of the program and close the console window.
194
+
Press Ctrl+C to stop execution of the program and close the console window.
203
195
204
196
4. In the Azure portal, open **Data Explorer** to query, modify, and work with this new data.
205
197
@@ -215,7 +207,7 @@ Now go back to the Azure portal to get your connection string information and co
215
207
216
208
## Next steps
217
209
218
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, Cassandra database, and container using the Data Explorer, and run an app to do the same thing programmatically. You can now import additional data into your Azure Cosmos container.
210
+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Java app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
219
211
220
212
> [!div class="nextstepaction"]
221
213
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)
Copy file name to clipboardExpand all lines: articles/cosmos-db/create-cassandra-nodejs.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,17 +18,13 @@ ms.date: 09/24/2018
18
18
> *[Python](create-cassandra-python.md)
19
19
>
20
20
21
-
This quickstart shows how to use Node.js and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
22
-
23
-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
21
+
In this quickstart, you connect a Cassandra Node.js app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
24
22
25
23
## Prerequisites
26
24
27
-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
28
-
29
-
In addition, you need:
30
-
*[Node.js](https://nodejs.org/en/) version v0.10.29 or higher
31
-
*[Git](https://git-scm.com/)
25
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
26
+
-[Node.js](https://nodejs.org/en/) version v0.10.29 or higher.
27
+
-[Git](https://www.git-scm.com/).
32
28
33
29
## Create a database account
34
30
@@ -150,7 +146,7 @@ This step is optional. If you're interested to learn how the code creates the da
150
146
151
147
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string enables your app to communicate with your hosted database.
152
148
153
-
1. In the [Azure portal](https://portal.azure.com/), select**Connection String**.
149
+
1. In your Azure Cosmos DB account inthe [Azure portal](https://portal.azure.com/), select**Connection String**.
154
150
155
151
Use the  button on the right side of the screen to copy the top value, the CONTACT POINT.
156
152
@@ -198,7 +194,7 @@ Now go back to the Azure portal to get your connection string information and co
198
194
199
195

200
196
201
-
Press CTRL + C to stop execution of the program and close the console window.
197
+
Press CTRL+C to stop execution of the program and close the console window.
202
198
203
199
4. In the Azure portal, open **Data Explorer** to query, modify, and work with this new data.
204
200
@@ -214,7 +210,7 @@ Now go back to the Azure portal to get your connection string information and co
214
210
215
211
## Next steps
216
212
217
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a container using the Data Explorer, and run an app. You can now import additional data to your Cosmos DB account.
213
+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Node.js app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
218
214
219
215
> [!div class="nextstepaction"]
220
216
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)
Copy file name to clipboardExpand all lines: articles/cosmos-db/create-cassandra-python.md
+9-13Lines changed: 9 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,18 +18,14 @@ ms.date: 09/24/2018
18
18
> *[Python](create-cassandra-python.md)
19
19
>
20
20
21
-
This quickstart shows how to use Python and the Azure Cosmos DB [Cassandra API](cassandra-introduction.md) to build a profile app by cloning an example from GitHub. This quickstart also shows you how to use the web-based Azure portal to create an Azure Cosmos DB account.
22
-
23
-
Azure Cosmos DB is Microsoft's globally distributed multi-model database service. You can quickly create and query document, table, key-value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
24
-
21
+
In this quickstart, you connect a Cassandra Python app cloned from GitHub to an Azure Cosmos DB with Cassandra API account. Azure Cosmos DB multi-model database service lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
22
+
run an app that creates a database and container in an Azure Cosmos DB Cassandra API account.
25
23
## Prerequisites
26
24
27
-
[!INCLUDE [quickstarts-free-trial-note](../../includes/quickstarts-free-trial-note.md)] Alternatively, you can [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription, free of charge and commitments.
28
-
29
-
In addition, you need:
30
-
*[Python](https://www.python.org/downloads/) version v2.7.14
31
-
*[Git](https://git-scm.com/)
32
-
*[Python Driver for Apache Cassandra](https://github.com/datastax/python-driver)
25
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or, [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
26
+
-[Python](https://www.python.org/downloads/) version v2.7.14 or above.
27
+
-[Git](https://git-scm.com/).
28
+
-[Python Driver for Apache Cassandra](https://github.com/datastax/python-driver).
33
29
34
30
## Create a database account
35
31
@@ -130,7 +126,7 @@ This step is optional. If you're interested to learn how the code creates the da
130
126
131
127
Now go back to the Azure portal to get your connection string information and copy it into the app. The connection string enables your app to communicate with your hosted database.
132
128
133
-
1. In the [Azure portal](https://portal.azure.com/), select **Connection String**.
129
+
1. In your Azure Cosmos DB account in the [Azure portal](https://portal.azure.com/), select **Connection String**.
134
130
135
131
Use the  button on the right side of the screen to copy the top value, the CONTACT POINT.
136
132
@@ -189,7 +185,7 @@ Now go back to the Azure portal to get your connection string information and co
189
185
190
186
3. Verify the results as expected from the command line.
191
187
192
-
Press CTRL + C to stop execution of the program and close the console window.
188
+
Press CTRL+C to stop execution of the program and close the console window.
193
189
194
190

195
191
@@ -207,7 +203,7 @@ Now go back to the Azure portal to get your connection string information and co
207
203
208
204
## Next steps
209
205
210
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a container using the Data Explorer, and run an app. You can now import additional data to your Cosmos DB account.
206
+
In this quickstart, you've learned how to create an Azure Cosmos DB account with Cassandra API, and run a Cassandra Python app that creates a Cassandra database and container. You can now import additional data into your Azure Cosmos DB container.
211
207
212
208
> [!div class="nextstepaction"]
213
209
> [Import Cassandra data into Azure Cosmos DB](cassandra-import-data.md)
0 commit comments