Package com.inet.report.database.fetch
Interface DataCollector
-
public interface DataCollector
Receives tabular data from all the datasources of a rendered report. The delivered data may be unjoined, partial joined or fully joined. Unjoined or partial joined data is joined locally as soon as data of neighbor nodes in the master join table tree is present.- Since:
- 15.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addJoinedData(java.util.List<TableSource> tablesSources, TableData data, java.util.List<Field> selectedColumns, boolean filterRequired, boolean sortRequired, boolean distinctRequired, com.inet.report.list.DatabaseFieldList requiredColumns)
Adds partial joined data for the specified table sources.void
addUnjoinedData(TableSource tableSource, TableData data)
Adds unjoined data for the specified table source.
-
-
-
Method Detail
-
addUnjoinedData
void addUnjoinedData(TableSource tableSource, TableData data) throws ReportException
Adds unjoined data for the specified table source.- Parameters:
tableSource
- the table sourcedata
- the table data- Throws:
ReportException
- on failures during performing local joinsjava.lang.IllegalArgumentException
- when the table source is invalid or already supplied- Since:
- 15.0
-
addJoinedData
void addJoinedData(java.util.List<TableSource> tablesSources, TableData data, java.util.List<Field> selectedColumns, boolean filterRequired, boolean sortRequired, boolean distinctRequired, com.inet.report.list.DatabaseFieldList requiredColumns) throws ReportException
Adds partial joined data for the specified table sources.- Parameters:
tablesSources
- a list of table sources which are connected via joinsdata
- the table dataselectedColumns
- the selected columnsfilterRequired
- flag indicating whether filter needs to be applied locallysortRequired
- flag indicating whether sorting needs to be applied locallydistinctRequired
- flag indicating whether distinction needs to be applied locallyrequiredColumns
- the required columns- Throws:
ReportException
- on failures during local joining or filtering.java.lang.IllegalArgumentException
- when the specified table sources are unknown or were already supplied- Since:
- 15.1
-
-