@@ -50,7 +50,7 @@ Container container = await createClient.GetDatabase(this.databaseName)
50
50
51
51
### <a id =" create-custom-conflict-resolution-policy-lww-java " ></a >Java SDK
52
52
53
- # [ Java Async SDK] ( #tab/javaasync )
53
+ # [ Java Async SDK] ( #tab/async )
54
54
55
55
``` java
56
56
DocumentCollection collection = new DocumentCollection ();
@@ -60,7 +60,7 @@ collection.setConflictResolutionPolicy(policy);
60
60
DocumentCollection createdCollection = client. createCollection(databaseUri, collection, null ). toBlocking(). value();
61
61
```
62
62
63
- # [ Java sync SDK] ( #tab/javasync )
63
+ # [ Java sync SDK] ( #tab/sync )
64
64
65
65
``` java
66
66
DocumentCollection lwwCollection = new DocumentCollection ();
@@ -218,7 +218,7 @@ await container.Scripts.CreateStoredProcedureAsync(
218
218
219
219
### <a id =" create-custom-conflict-resolution-policy-stored-proc-java " ></a >Java SDK
220
220
221
- # [ Java Async SDK] ( #tab/javaasync )
221
+ # [ Java Async SDK] ( #tab/async )
222
222
223
223
``` java
224
224
DocumentCollection collection = new DocumentCollection ();
@@ -230,7 +230,7 @@ DocumentCollection createdCollection = client.createCollection(databaseUri, coll
230
230
231
231
After your container is created, you must create the ` resolver ` stored procedure.
232
232
233
- # [ Java sync SDK] ( #tab/javasync )
233
+ # [ Java sync SDK] ( #tab/sync )
234
234
235
235
``` java
236
236
DocumentCollection udpCollection = new DocumentCollection ();
@@ -315,7 +315,7 @@ Container container = await createClient.GetDatabase(this.databaseName)
315
315
316
316
### <a id =" create-custom-conflict-resolution-policy-java " ></a >Java SDK
317
317
318
- # [ Java Async SDK] ( #tab/javaasync )
318
+ # [ Java Async SDK] ( #tab/async )
319
319
320
320
``` java
321
321
DocumentCollection collection = new DocumentCollection ();
@@ -325,7 +325,7 @@ collection.setConflictResolutionPolicy(policy);
325
325
DocumentCollection createdCollection = client. createCollection(databaseUri, collection, null ). toBlocking(). value();
326
326
```
327
327
328
- # [ Java sync SDK] ( #tab/javasync )
328
+ # [ Java sync SDK] ( #tab/sync )
329
329
330
330
``` java
331
331
DocumentCollection manualCollection = new DocumentCollection ();
@@ -400,7 +400,7 @@ while (conflictFeed.HasMoreResults)
400
400
401
401
### <a id =" read-from-conflict-feed-java " ></a >Java SDK
402
402
403
- # [ Java Async SDK] ( #tab/javaasync )
403
+ # [ Java Async SDK] ( #tab/async )
404
404
405
405
``` java
406
406
FeedResponse<Conflict > response = client. readConflicts(this . manualCollectionUri, null )
@@ -409,7 +409,7 @@ for (Conflict conflict : response.getResults()) {
409
409
/* Do something with conflict */
410
410
}
411
411
```
412
- # [ Java Async SDK] ( #tab/javaasync )
412
+ # [ Java Async SDK] ( #tab/sync )
413
413
414
414
``` java
415
415
Iterator<Conflict > conflictsIterator = client. readConflicts(this . collectionLink, null ). getQueryIterator();
0 commit comments