Skip to content

Commit ef9f8df

Browse files
Chris ChomongoKartrustagirDBirtolo-mdb
authored
DOCSP-27390 aggregation operations (#367)
* first draft * add new file * JS MK feedback * fix * remove mql * fixes * fixes * fix * DOCSP-28004: boolean operators (#330) * DOCSP-27932: add AWS Lambda connection guide link (#317) * DOCSP-27932: add AWS Lambda connection guide link * DOCSP-27400: BsonCreator annotation description fix (#325) * DOCSP-27400: BsonCreator annotation description fix * DOCSP-25493: Adding links to the bson-records API (#326) * DOCSP-25493: Adding links to the bson-records API * Fixing broken link. * DOCSP-27390 - Agg Expression Overview (#318) * add new file * JS MK feedback * Revert "DOCSP-27390 - Agg Expression Overview (#318)" This reverts commit 400fa99. * Java 4.9 whats new (#329) * DOCSP-27978: added exception for BsonCreator constructor * DOCSP-27417: Command monitoring log format change * DOCSP-28004: boolean expressions * first pass fixes * DOCSP-27974 - 4.9.0 Version Updates (#328) * version updates * cc feedback * changes based on discussion * CC PR fixes 1 * JS MK feedback * fix * PR fixes * improve example explanation * add toc landing page so agg page doesnt disappear --------- Co-authored-by: Chris Cho <[email protected]> Co-authored-by: DBirtolo-mdb <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Mike Woofter <[email protected]> * Revert "DOCSP-28004: boolean operators (#330)" (#335) This reverts commit eb7f746c78b75b97f0f9a34cacf8571900e95f60. * DOCSP-28004: boolean aggregation expression operators (#336) * DOCSP-27932: add AWS Lambda connection guide link (#317) * DOCSP-27932: add AWS Lambda connection guide link * DOCSP-27400: BsonCreator annotation description fix (#325) * DOCSP-27400: BsonCreator annotation description fix * DOCSP-25493: Adding links to the bson-records API (#326) * DOCSP-25493: Adding links to the bson-records API * Fixing broken link. * DOCSP-27390 - Agg Expression Overview (#318) * add new file * JS MK feedback * Revert "DOCSP-27390 - Agg Expression Overview (#318)" This reverts commit 400fa99. * Java 4.9 whats new (#329) * DOCSP-27978: added exception for BsonCreator constructor * DOCSP-27417: Command monitoring log format change * DOCSP-28004: boolean expressions * first pass fixes * DOCSP-27974 - 4.9.0 Version Updates (#328) * version updates * cc feedback * changes based on discussion * CC PR fixes 1 * JS MK feedback * fix * PR fixes * improve example explanation * add toc landing page so agg page doesnt disappear * fix * MK PR fixes 1 * Delete aggregation-expression-operators.txt * remove mql * fixes * changes based on discussion * MK PR fixes 2 * use cond in example --------- Co-authored-by: Chris Cho <[email protected]> Co-authored-by: DBirtolo-mdb <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Mike Woofter <[email protected]> * DOCSP-28586: How to use section (#341) * first pass * first pass fixes * cssclass delete * DB PR fixes 1 * MK PR fixes 1 * MK PR fixes 2 * DOCSP-28010: string operations (#342) * DOCSP-28010: string operations * CC PR fixes 1 * more small fixes * link fix * CC PR fixes 2 * MK PR fixes 1 * DOCSP-28007: date operations (#343) * DOCSP-28007: date operations * first pass fixes * match format to string PR * build * DB PR fixes 1 * MK PR fixes 1 * MK PR fixes 2 * small fixes * Docsp 28002 arithmetic operations (#344) * DOCSP-28002: Adding arithmetic agg expressions * Fixed a broken link * PR feedback * Additional PR feedback. * Small grammar tweaks * Updates to match established template. * DOCSP-28003: Array Operations (#349) * DOCSP-28003: array operations * first pass fixes * fix code block * change text * DB PR fixes 1 * small fixes * add article * missing methods & admonition * MK PR fixes 1 * build * MK PR fixes 2 * MK comment * DOCSP-28005: Adding comparison agg operators (#345) * DOCSP-28005: Adding comparison agg operators * PR feedback * Fixed link issues * Updates to match established template. * Maxim feedback * Sample fix * DOCSP-28808: conversion operations (#358) * DOCSP-28808: conversion operations * DB PR fixes 1 * Update aggregation-expression-operations.txt * MK PR fixes 1 * DOCSP-28864: function (passTo) operations (#359) * DOCSP-28864: passTo operations (misc) * section draft1 * first pass fixes * small fixes + explanation * fix format * DB PR fixes 1 * MK PR fixes 1 * renamed methods * MK PR fixes 2 * build * DOCSP-28006: Added conditional and set operations (#347) * DOCSP-28006: Added conditional and set operations * PR feedback. * PR feedback part 2 * Grammar fix * Added the swtich statement * Trying to fix indentation * Empty commit to prod the build tool. * Forgot the in the pipeline * Changed how the switch variants are listed * Maxim feedback * DOCSP-28934: Cleaning up aggregation expressions (#361) * DOCSP-28934: Cleaning up aggregation expressions * build staging * RR responding to MK PR comments * build * build * small fixes * RR responding to MK PR comments 2 * error fixes * add queryapi for map ops * PR comments * more PR comments * add descriptions to constructor methods * grammar fix * Maxim feedback on final review. * Maxim feedback * Build commit * Maxim feedback part 2 * Removed empty 'More Information' section * Removed excess comma from code example --------- Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Rea Rustagi <[email protected]> Co-authored-by: DBirtolo-mdb <[email protected]> Co-authored-by: Mike Woofter <[email protected]> Co-authored-by: Rea Radhika Rustagi <[email protected]> Co-authored-by: Dylan Birtolo <[email protected]>
1 parent ef786da commit ef9f8df

File tree

9 files changed

+1259
-13
lines changed

9 files changed

+1259
-13
lines changed

.github/.backportrc.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
{
22
"repoOwner": "mongodb",
33
"repoName": "docs-java",
4-
5-
"targetBranchChoices": ["master", "v4.9", "v4.8", "v4.7", "v4.6", "v4.5", "v4.4", "v4.3"],
4+
"targetBranchChoices": [
5+
"master",
6+
"v4.9",
7+
"v4.8",
8+
"v4.7",
9+
"v4.6",
10+
"v4.5",
11+
"v4.4",
12+
"v4.3"
13+
],
614

715
"autoMerge": true,
8-
"autoMergeMethod": "squash",
9-
10-
"branchLabelMapping": {
11-
"^auto-backport-to-(.+)$": "$1"
12-
}
13-
}
16+
"autoMergeMethod": "squash"
17+
}

snooty.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ toc_landing_pages = [
1010
"/fundamentals/connection",
1111
"/fundamentals/crud",
1212
"/fundamentals/builders",
13+
"/fundamentals/aggregation",
1314
"/usage-examples",
1415
]
1516
sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/"
@@ -20,7 +21,6 @@ driver-long = "MongoDB Java Driver"
2021
version = "4.9"
2122
full-version = "{+version+}.1"
2223
mdb-server = "MongoDB server"
23-
2424
package-name-org = "mongodb-org"
2525
api = "https://mongodb.github.io/mongo-java-driver/{+version+}"
2626
stable-api = "Stable API"

source/fundamentals.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Fundamentals
1717
/fundamentals/crud
1818
/fundamentals/builders
1919
/fundamentals/aggregation
20+
/fundamentals/aggregation-expression-operations
2021
/fundamentals/indexes
2122
/fundamentals/collations
2223
/fundamentals/logging

source/fundamentals/aggregation-expression-operations.txt

Lines changed: 1237 additions & 0 deletions
Large diffs are not rendered by default.

source/fundamentals/aggregation.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Aggregation
33
===========
44

5-
.. default-domain:: mongodb
6-
75
.. contents:: On this page
86
:local:
97
:backlinks: none

source/fundamentals/builders/aggregates.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@ 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+
To learn more about aggregation, see our :ref:`Aggregation guide
21+
<java-aggregation>`. To learn how to create expression operations with
22+
discoverable, typesafe Java methods to use in your aggregations, see
23+
:ref:`java-aggregation-expression-operations`.
2124

2225
.. tip::
2326

source/fundamentals/data-formats/documents.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _fundamentals-documents:
2+
13
=========
24
Documents
35
=========

source/includes/fundamentals-sections.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Fundamentals section:
88
- :doc:`Read from and Write to MongoDB </fundamentals/crud>`
99
- :doc:`Simplify your Code with Builders </fundamentals/builders>`
1010
- :doc:`Transform your Data </fundamentals/aggregation>`
11+
- :doc:`Create Aggregation Expressions </fundamentals/aggregation-expression-operations>`
1112
- :doc:`Create Indexes to Speed Up Queries </fundamentals/indexes>`
1213
- :doc:`Sort Using Collations </fundamentals/collations>`
1314
- :doc:`Log Events in the Driver </fundamentals/logging>`

source/index.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,4 +166,4 @@ Take the free online course taught by MongoDB instructors
166166

167167
- `Using MongoDB with Java <https://learn.mongodb.com/learning-paths/using-mongodb-with-java>`_
168168

169-
Learn the essentials of Java application development with MongoDB.
169+
Learn the essentials of Java application development with MongoDB.

0 commit comments

Comments
 (0)