The previous chapter introduced the document-oriented storage of MongoDB, and we learned that MongoDB JSON-style documents are built on two primary data structures, a nested collection of documents and arrays. This chapter elaborates on this topic and explains the MongoDB database concepts essential for learning how to query MongoDB data with Pentaho. We will start by discussing MongoDB database objects and design methods and then learn how to query the restored sample clickstream database using the mongo shell.
The following are the topics that we will cover in this chapter:
MongoDB database objects
Sample MongoDB clickstream database
MongoDB data modeling
MongoDB query methods
By the end of this chapter, you will have a foundational knowledge of MongoDB design and the primary query methods needed to start retrieving data from the sample database.