Skip to content

Commit cbc427c

Browse files
committed
quick fixes-1
1 parent 0fefc30 commit cbc427c

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

articles/cosmos-db/graph/bulk-executor-graph-dotnet.md

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ It's now available in following flavors:
2828
* An Azure subscription. You can create [a free Azure account here](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=cosmos-db). Alternatively, you can create a Cosmos database account with [Try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription.
2929
* An Azure Cosmos DB Gremlin API database with an **unlimited collection**. The guide shows how to get started with [Azure Cosmos DB Gremlin API in .NET](./create-graph-dotnet.md).
3030
* Git. For more information check out the [Git Downloads page](https://git-scm.com/downloads).
31+
#### Clone
32+
To run this sample, run the `git clone` command below:
33+
```bash
34+
git clone https://github.com/Azure-Samples/azure-cosmos-graph-bulk-executor.git
35+
```
36+
The sample is available at path .\azure-cosmos-graph-bulk-executor\dotnet\src\
37+
3138
#### Sample
3239
```csharp
3340

@@ -40,14 +47,8 @@ BulkOperationResponse bulkOperationResponse = await graphBulkExecutor.BulkImport
4047
gremlinElements: gremlinElements,
4148
enableUpsert: true);
4249
```
43-
#### Clone
44-
To run this sample, run the `git clone` command below:
45-
```bash
46-
git clone https://github.com/Azure-Samples/azure-cosmos-graph-bulk-executor.git
47-
```
48-
The sample is available at path .\azure-cosmos-graph-bulk-executor\dotnet\src\
4950

50-
### Run
51+
### Execute
5152
Modify the following parameters as:
5253

5354
Parameter|Description
@@ -66,14 +67,22 @@ Download the full sample application in .NET from [here](https://github.com/Azur
6667

6768
The sample application is provided to illustrate how to use the GraphBulkExecutor package. Samples are available for using either the Domain object annotations or using the POJO objects directly. It's recommended, to try both approaches, to determine which better meets your implementation and performance demands.
6869

70+
### Clone
71+
To run the sample, run the `git clone` command below:
72+
```bash
73+
git clone https://github.com/Azure-Samples/azure-cosmos-graph-bulk-executor.git
74+
```
75+
The sample is available at .\azure-cosmos-graph-bulk-executor\java\
76+
6977
### Prerequisites
7078

7179
To run this sample, you'll need to have the following software:
7280

7381
* OpenJDK 11
7482
* Maven
7583
* An Azure Cosmos DB Account configured to use the Gremlin API
76-
#### Sample
84+
85+
### Sample
7786
```java
7887
private static void executeWithPOJO(Stream<GremlinVertex> vertices,
7988
Stream<GremlinEdge> edges,
@@ -85,13 +94,6 @@ private static void executeWithPOJO(Stream<GremlinVertex> vertices,
8594
}
8695
```
8796

88-
### Clone
89-
To run the sample, run the `git clone` command below:
90-
```bash
91-
git clone https://github.com/Azure-Samples/azure-cosmos-graph-bulk-executor.git
92-
```
93-
The sample is available at .\azure-cosmos-graph-bulk-executor\java\
94-
9597
To run the sample, refer the configuration as follows and modify as needed:
9698
### Configuration
9799

@@ -104,7 +106,7 @@ The /resources/application.properties file defines the data required to configur
104106
* **sample.sql.partition.path**: If the container needs to be created, this value will be used to define the partitionKey path.
105107
* **sample.sql.allow.throughput**: The container will be updated to use the throughput value defined here. If you're exploring different throughput options to meet your performance demands, make sure to reset the throughput on the container when done with your exploration. There are costs associated with leaving the container provisioned with a higher throughput.
106108

107-
### Execute the sample
109+
### Execute
108110

109111
Once the configuration is modified as per your environment, then run the command:
110112

0 commit comments

Comments
 (0)