Skip to content

Commit 2f61ff6

Browse files
authored
Update includes for new example locations (#375)
1 parent 5845bc5 commit 2f61ff6

File tree

8 files changed

+26
-26
lines changed

8 files changed

+26
-26
lines changed

modules/guides/pages/bulk-operations.adoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,17 +100,17 @@ Java::
100100
101101
[source,java]
102102
----
103-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-users,indent=0]
103+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-users,indent=0]
104104
105-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-bulk-insert,indent=0]
105+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-bulk-insert,indent=0]
106106
107107
----
108108
109109
NOTE: A `JsonDocument` class is used to supplement the example.
110110
111111
[source,java]
112112
----
113-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-bulk-class,indent=0]
113+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-bulk-class,indent=0]
114114
----
115115
116116
{github}
@@ -242,9 +242,9 @@ Using the `reactor.core.publisher.Flux` reactive library, call the `fromIterable
242242
243243
[source,java]
244244
----
245-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-users,indent=0]
245+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-users,indent=0]
246246
247-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-bulk-get,indent=0]
247+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-bulk-get,indent=0]
248248
249249
----
250250
@@ -378,9 +378,9 @@ Java::
378378
379379
[source,java]
380380
----
381-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-users,indent=0]
381+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-users,indent=0]
382382
383-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-bulk-upsert,indent=0]
383+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-bulk-upsert,indent=0]
384384
385385
----
386386
@@ -512,9 +512,9 @@ Using the `reactor.core.publisher.Flux` reactive library, call the `fromIterable
512512
513513
[source,java]
514514
----
515-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-users,indent=0]
515+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-users,indent=0]
516516
517-
include::java-sdk:hello-world:example$KvBulkHelloWorld.java[tag=kv-bulk-remove,indent=0]
517+
include::java-sdk:devguide:example$java/KvBulkHelloWorld.java[tag=kv-bulk-remove,indent=0]
518518
519519
----
520520

modules/guides/pages/create-index.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,14 +126,14 @@ The following example creates an unnamed primary index.
126126
127127
[source,java]
128128
----
129-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=primary,indent=0]
129+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=primary,indent=0]
130130
----
131131
132132
The following example creates a named primary index on the specified keyspace.
133133
134134
[source,java]
135135
----
136-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=named-primary,indent=0]
136+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=named-primary,indent=0]
137137
----
138138
139139
{github}
@@ -302,7 +302,7 @@ The following example creates a secondary index on the `name` field in the speci
302302
303303
[source,java]
304304
----
305-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=secondary,indent=0]
305+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=secondary,indent=0]
306306
----
307307
308308
{github}
@@ -420,7 +420,7 @@ The following example creates a secondary index on the `name`, `id`, `icao`, and
420420
421421
[source,java]
422422
----
423-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=composite,indent=0]
423+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=composite,indent=0]
424424
----
425425
426426
{github}

modules/guides/pages/creating-data.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ A `MutationResult` object is returned containing the result and metadata relevan
102102
103103
[source,java]
104104
----
105-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-insert,indent=0]
105+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-insert,indent=0]
106106
----
107107
108108
NOTE: If the document already exists, the SDK returns a `DocumentExistsException` error.
@@ -240,7 +240,7 @@ Java::
240240
241241
[source,java]
242242
----
243-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-insert-with-opts,indent=0]
243+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-insert-with-opts,indent=0]
244244
----
245245
246246
{github}

modules/guides/pages/deleting-data.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ Use the `remove()` method to delete a document from the database.
8686
8787
[source,java]
8888
----
89-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-remove,indent=0]
89+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-remove,indent=0]
9090
----
9191
9292
NOTE: If the document doesn't exist, the SDK will return a `DocumentNotFoundException` error.
@@ -220,7 +220,7 @@ A `MutateInResult` object is returned, containing the result and metadata releva
220220
221221
[source,java]
222222
----
223-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-remove-subdoc,indent=0]
223+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-remove-subdoc,indent=0]
224224
----
225225
226226
NOTE: If the path doesn't exist, the SDK will return a `PathNotFoundException` error.

modules/guides/pages/drop-index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ The following example drops an unnamed primary index from the specified keyspace
120120
121121
[source,java]
122122
----
123-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=drop-primary,indent=0]
123+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=drop-primary,indent=0]
124124
----
125125
126126
{github}
@@ -276,7 +276,7 @@ The following example drops a named index from the specified keyspace.
276276
277277
[source,java]
278278
----
279-
include::java-sdk:hello-world:example$IndexHelloWorld.java[tag=drop-secondary,indent=0]
279+
include::java-sdk:devguide:example$java/IndexHelloWorld.java[tag=drop-secondary,indent=0]
280280
----
281281
282282
{github}

modules/guides/pages/reading-data.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ A `GetResult` object is returned, which includes the `content`, `cas` value, and
9898
9999
[source,java]
100100
----
101-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-get,indent=0]
101+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-get,indent=0]
102102
----
103103
104104
NOTE: If the document doesn't exist, the SDK returns a `DocumentNotFoundException` error.
@@ -253,7 +253,7 @@ A `GetResult` object is returned, which may include extra metadata, depending on
253253
254254
[source,java]
255255
----
256-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-get-with-opts,indent=0]
256+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-get-with-opts,indent=0]
257257
----
258258
259259
{github}
@@ -401,7 +401,7 @@ A `LookupInResult` object is returned, containing the result and metadata releva
401401
402402
[source,java]
403403
----
404-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-get-subdoc,indent=0]
404+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-get-subdoc,indent=0]
405405
----
406406
407407
NOTE: If the document path can't be found, the SDK returns a `PathNotFoundException` error.

modules/guides/pages/select.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The result object includes each row found.
7070
7171
[source,java]
7272
----
73-
include::java-sdk:hello-world:example$StartUsing.java[tag=n1ql-query,indent=0]
73+
include::java-sdk:devguide:example$java/StartUsing.java[tag=n1ql-query,indent=0]
7474
----
7575
7676
{github}

modules/guides/pages/updating-data.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ If it doesn't exist, Couchbase Capella creates a new document.
9292
9393
[source,java]
9494
----
95-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-update-upsert,indent=0]
95+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-update-upsert,indent=0]
9696
----
9797
9898
{github}
@@ -222,7 +222,7 @@ A new `CAS` value is provided in the returned `MutationResult` object.
222222
223223
[source,java]
224224
----
225-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-update-replace,indent=0]
225+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-update-replace,indent=0]
226226
----
227227
228228
NOTE: If the document doesn't exist, the SDK will return a `DocumentNotFoundException` error.
@@ -364,7 +364,7 @@ A `MutateInResult` object is returned, containing the result and metadata releva
364364
365365
[source,java]
366366
----
367-
include::java-sdk:hello-world:example$KvHelloWorldScoped.java[tag=kv-update-subdoc,indent=0]
367+
include::java-sdk:devguide:example$java/KvHelloWorldScoped.java[tag=kv-update-subdoc,indent=0]
368368
----
369369
370370
{github}

0 commit comments

Comments
 (0)