Book Image

Pentaho 8 Reporting for Java Developers

By : Jasmine Kaur, Francesco Corti
Book Image

Pentaho 8 Reporting for Java Developers

By: Jasmine Kaur, Francesco Corti

Overview of this book

This hands-on tutorial, filled with exercises and examples, introduces the reader to a variety of concepts within Pentaho Reporting. With screenshots that show you how reports look at design time as well as how they should look when rendered as PDF, Excel, HTML, Text, Rich-Text-File, XML, and CSV, this book also contains complete example source code that you can copy and paste into your environment to get up-and-running quickly. Updated to cover the features of Pentaho 8, this book will teach you everything you need to know to build fast, efficient reports using Pentaho. If your interest lies in the technical details of creating reports and you want to see how to solve common reporting problems with a minimum of fuss, this is the book for you.
Table of Contents (25 chapters)
Title Page
Credits
About the Author
About the Reviewers
www.PacktPub.com
Customer Feedback
Dedication
Preface

The MongoDB data source


The MongoDB data source lets you natively connect to the famous NoSQL database. To do this, you must already have MongoDB database connection information, such as host name(s), port number(s), and authentication credentials.

Note

MongoDB (from humongous) is a free and open source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schema, stored as content.

Once selected, this data source type shows a modal window with two panels: the query list panel on the left and the query details panel on the right. The query list panel is similar to the one introduced for the JDBC data source, where you can see the icons to add queries (

) and delete queries (

). Clicking on the green plus (

) icon, a new Query 1 is added to the available ones, as shown in the following screenshot:

Once a query is selected (or a new one is created), the right panel shows the Name field, where you can change the meaningful...