If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Pass dataset to MasterReport instance

Hi everyone.

I have successfully embedded the Pentaho Reporting Engine on a Clojure application. However, I would like to know if exists a way to pass a dataset directly to a MasterReport instance? The example provided on https://help.pentaho.com/Documentation/7.0/0R0/140 explains how to do it using a SQLReportDataFactory (DriverConnectionProvider + SQL query).

For my use case, I can't use a SQL query because the dataset is constructed from many data sources, and then it gets transformed in several steps.

After doing a long research, I think I found what I was looking for. Currently, I am trying to use the org.pentaho.reporting.engine.classic.core.TableDataFactory class to provide data to my report. However, I don't know how should I configure the datasource inside my report. Should I use the external datasource type?