10000 kotlinize refs · nickldp/docs-kotlin@3a8b735 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a8b735

Browse files
committed
kotlinize refs
1 parent cc89246 commit 3a8b735

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+137
-137
lines changed

source/compatibility.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _java-compatibility-tables:
1+
.. _kotlin-compatibility-tables:
22

33
=============
44
Compatibility

source/faq.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ newer:
7575
- JDK 13.0.3
7676
- JDK 14.0.2
7777

78-
.. _java-faq-connection-pool:
78+
.. _kotlin-faq-connection-pool:
7979

8080
How Does Connection Pooling Work in the Java Driver?
8181
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -98,7 +98,7 @@ an application's threads on each server, up to
9898
the value of ``maxPoolSize``. If ``maxPoolSize`` is ``100`` and the
9999
application only uses the primary (the default), then only the primary
100100
connection pool grows and there can be at most ``106`` total connections. If the
101-
application uses a :ref:`read preference <java-read-write-pref>` to query the
101+
application uses a :ref:`read preference <kotlin-read-write-pref>` to query the
102102
secondary nodes, their pools also grow and there can be ``306`` total connections.
103103

104104
Additionally, connection pools are rate-limited such that each connection pool
@@ -309,7 +309,7 @@ see the following API documentation pages:
309309
- `find() <{+api+}/apidocs/mongodb-driver-legacy/com/mongodb/DBCollection.html#find()>`__
310310
- `one() <{+api+}/apidocs/mongodb-driver-legacy/com/mongodb/DBCursor.html#one()>`__
311311

312-
See the :ref:`Migrate from the Legacy API <java-legacy-api>` page
312+
See the :ref:`Migrate from the Legacy API <kotlin-legacy-api>` page
313313
for a list of differences between the legacy and current API.
314314

315315
How do I use the legacy ``MongoClientOptions`` and ``MongoClientURI`` Classes?
@@ -346,7 +346,7 @@ see the following API Documentation pages:
346346
- `MongoClientOptions <{+api+}/apidocs/mongodb-driver-legacy/com/mongodb/MongoClientOptions.html>`__
347347
- `MongoClientURI <{+api+}/apidocs/mongodb-driver-legacy/com/mongodb/MongoClientURI.html>`__
348348

349-
See the :ref:`Migrate from the Legacy API <java-legacy-api>` page for a list
349+
See the :ref:`Migrate from the Legacy API <kotlin-legacy-api>` page for a list
350350
of differences between the legacy and current API.
351351

352352
Support

source/fundamentals/aggregation.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Aggregation
1313
Overview
1414
--------
1515

16-
.. _java-aggregation:
16+
.. _kotlin-aggregation:
1717

1818
In this guide, you can learn how to use **aggregation operations** in the MongoDB Java driver.
1919

source/fundamentals/auth.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Authentication Mechanisms
1212
:depth: 2
1313
:class: singlecol
1414

15-
.. _authentication-mechanisms-java:
15+
.. _authentication-mechanisms-kotlin:
1616

1717
Overview
1818
--------
@@ -259,7 +259,7 @@ These sections contain code examples that use the following placeholders:
259259
* ``port`` - port of your MongoDB Atlas deployment
260260
* ``awsSessionToken`` - value of your AWS session token
261261

262-
.. _java-mongodb-aws-sdk:
262+
.. _kotlin-mongodb-aws-sdk:
263263

264264
AWS SDK for Java
265265
++++++++++++++++
@@ -347,7 +347,7 @@ version you need:
347347
If you include both v1 and v2 of the AWS SDK for Java in your project,
348348
you must use the v2 methods to supply your credentials.
349349

350-
.. _java-mongodb-aws-env-variables:
350+
.. _kotlin-mongodb-aws-env-variables:
351351

352352
Specify Your Credentials in the Environment
353353
+++++++++++++++++++++++++++++++++++++++++++
@@ -417,7 +417,7 @@ To authenticate using **EC2 container credentials**, make sure none of the
417417
aforementioned environment variables are set. The driver obtains the
418418
credentials from the default IPv4 EC2 instance metadata endpoint.
419419

420-
.. _java-mongodb-aws-mongoclient-configuration:
420+
.. _kotlin-mongodb-aws-mongoclient-configuration:
421421

422422
Specify Your Credentials in a MongoCredential
423423
+++++++++++++++++++++++++++++++++++++++++++++
@@ -430,7 +430,7 @@ factory method.
430430
You can supply only programmatic access keys to the
431431
``MongoCredential.createAwsCredential()`` method. If you need to supply ECS
432432
or EC2 container credentials, use the instructions in
433-
:ref:`<java-mongodb-aws-env-variables>` or :ref:`<java-mongodb-aws-sdk>`.
433+
:ref:`<kotlin-mongodb-aws-env-variables>` or :ref:`<kotlin-mongodb-aws-sdk>`.
434434

435435
To use the ``MongoCredential`` for ``MONGODB-AWS`` authentication, you
436436
must perform the following:

source/fundamentals/builders/aggregates.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In this guide, you can learn how to use the `Aggregates <{+api+}/apidocs/mongodb
1717
class which provides static factory methods that build :manual:`aggregation pipeline
1818
stages </meta/aggregation-quick-reference/#stages>` in the MongoDB Java driver.
1919

20-
For a more thorough introduction to Aggregation, see our :ref:`Aggregation guide <java-aggregation>`.
20+
For a more thorough introduction to Aggregation, see our :ref:`Aggregation guide <kotlin-aggregation>`.
2121

2222
.. tip::
2323

source/fundamentals/connection.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _java-connection-guide:
1+
.. _kotlin-connection-guide:
22

33
================
44
Connection Guide

source/fundamentals/connection/connect.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Use the ``MongoClients.create()`` method to construct a ``MongoClient``.
2626
As each ``MongoClient`` represents a thread-safe pool of connections to the
2727
database, most applications only require a single instance of a
2828
``MongoClient``, even across multiple threads. To learn more about
29-
how connection pools work in the driver, see the :ref:`FAQ page <java-faq-connection-pool>`.
29+
how connection pools work in the driver, see the :ref:`FAQ page <kotlin-faq-connection-pool>`.
3030

3131
All resource usage limits, such as max connections, apply to individual
3232
``MongoClient`` instances.
@@ -99,7 +99,7 @@ connection URI.
9999
You can set the {+stable-api+} version client option to avoid
100100
breaking changes when you upgrade to a new server version. To
101101
learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page
102-
<stable-api-java>`.
102+
<stable-api-kotlin>`.
103103

104104
The following code shows how you can specify the connection string and
105105
the {+stable-api+} client option when connecting to a MongoDB
@@ -109,7 +109,7 @@ deployment on Atlas and verify that the connection is successful:
109109
:language: java
110110
:emphasize-lines: 16
111111

112-
.. _java-other-ways-to-connect:
112+
.. _kotlin-other-ways-to-connect:
113113

114114
Other Ways to Connect to MongoDB
115115
--------------------------------

source/fundamentals/connection/mongoclientsettings.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ connection behavior:
5353
- Description
5454

5555
* - ``addCommandListener()``
56-
- Adds a listener for :ref:`command events <command-events-java>`.
56+
- Adds a listener for :ref:`command events <command-events-kotlin>`.
5757

5858
* - ``applicationName()``
5959
- Sets the logical name of the application using the ``MongoClient``.
@@ -84,7 +84,7 @@ connection behavior:
8484
:ref:`TLS/SSL settings <mcs-ssl-settings>`.
8585

8686
* - ``autoEncryptionSettings()``
87-
- | Sets the :ref:`auto-encryption settings <auto-encryption-decryption-java>`.
87+
- | Sets the :ref:`auto-encryption settings <auto-encryption-decryption-kotlin>`.
8888
|
8989
| If you omit ``keyVaultClient`` or set
9090
| ``bypassAutomaticEncryption`` to false in your
@@ -99,14 +99,14 @@ connection behavior:
9999
- Sets the :ref:`codec registry <codecs-codecregistry>`.
100100

101101
* - ``commandListenerList()``
102-
- Sets the :ref:`command listeners <command-events-java>`.
102+
- Sets the :ref:`command listeners <command-events-kotlin>`.
103103

104104
* - ``compressorList()``
105105
- Sets the :ref:`compressors <compression>` to use for compressing
106106
messages to the server.
107107

108108
* - ``credential()``
109-
- Sets the :ref:`credential <authentication-mechanisms-java>`.
109+
- Sets the :ref:`credential <authentication-mechanisms-kotlin>`.
110110

111111
* - ``readConcern()``
112112
- Sets the :manual:`read concern </reference/read-concern/>`.
@@ -123,7 +123,7 @@ connection behavior:
123123
if a network error occurs.
124124

125125
* - ``serverApi()``
126-
- Sets the :ref:`server API <stable-api-java>` to use when sending
126+
- Sets the :ref:`server API <stable-api-kotlin>` to use when sending
127127
commands to the server.
128128

129129
* - ``streamFactoryFactory()``

source/fundamentals/connection/network-compression.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The JDK supports `Zlib <https://zlib.net/>`__ compression natively, but
8989
`Snappy <https://google.github.io/snappy/>`__ and
9090
`Zstandard <https://github.com/facebook/zstd/>`__ depend on open source
9191
implementations. See
92-
`snappy-java <https://github.com/xerial/snappy-java>`__ and
92+
`snappy-java <https://github.com/xerial/snappy-kotlin>`__ and
9393
`zstd-java <https://github.com/luben/zstd-jni>`__ for details.
9494

9595

source/fundamentals/crud.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. _java-crud-operations:
1+
.. _kotlin-crud-operations:
22

33
===============
44
CRUD Operations

0 commit comments

Comments
 (0)
0