MongoDB Aggregation with Java

Learn how to create aggregation pipelines with Java.

MongoDB Aggregation with Java

Unit Overview

In this unit, you will learn how to perform basic aggregation with Java. First, you will learn what aggregation is and explore the stages and operators that can be included in an aggregation pipeline. Then, you'll learn how to build the $match and $group stages of an aggregation pipeline by using the Aggregates builder. You'll also learn how to build the $sort and $project stages of an aggregation pipeline by using the Aggregates builder. Finally, you'll learn about the Filters, Sorts, and Projections builder classes.

Prerequisites

Lessons in This Unit

  • Lesson 01: Building a MongoDB Aggregation Pipeline in Java Applications
  • Lesson 02: Using MongoDB Aggregation Stages with Java: $match and $group
  • Lesson 03: Using MongoDB Aggregation Stages with Java: $sort and $project
  • 01.
    Lesson 1: Building a MongoDB Aggregation Pipeline in Java Applications
    • Learn
    • Practice
  • 02.
    Lesson 2: Using MongoDB Aggregation Stages with Java: $match and $group
    • Learn
    • Practice
  • 03.
    Lesson 3: Using MongoDB Aggregation Stages with Java: $sort and $project
    • Learn
    • Practice
  • 04.
    Conclusion
    • Learn
Xijing Zhang I Curriculum Engineer

Xijing Zhang I Curriculum Engineer

Xijing Zhang is currently a Curriculum Engineer here at MongoDB. Previously, she developed curriculum over at Docker after getting her degree in Electrical Engineering from the University of Southern California.

Joe Nyirenda I Senior Technical Trainer

Joe Nyirenda I Senior Technical Trainer

Joe is a Senior Technical trainer based in London. Prior to joining MongoDB he consulted and delivered applications across a variety of industry sectors including publishing, utilities, telcos, vehicle telemetry, insurance, academia and government.

Daniel Curran | Senior Curriculum Designer

Daniel Curran | Senior Curriculum Designer

Daniel is a Senior Curriculum Designer at MongoDB. Before joining MongoDB, he worked as an Instructional Designer and Content Developer specializing in technical content for a host of international clients. Daniel's goal is to remove obstacles so learners can feel confident on their journey to become masters of MongoDB.

CH
October 23, 2023 5:25 AM


JS
October 18, 2023 1:42 PM

Good

IZ
October 14, 2023 8:14 PM


RS
October 9, 2023 12:00 PM

It is very useful

RS
October 7, 2023 1:18 PM

Very good

RS
October 7, 2023 7:11 AM

Nice

KS
September 28, 2023 1:43 PM