Package org.brapi.schematools.analyse
Class TabularReportGenerator
java.lang.Object
org.brapi.schematools.analyse.TabularReportGenerator
Generates a tabular report from a list of AnalysisReports
-
Method Summary
Modifier and TypeMethodDescriptionClears the summary for generator reuseorg.dflib.DataFramegenerateReport(List<AnalysisReport> reports) Generates a DataFrame from a list of AnalysisReportList<org.dflib.DataFrame> generateReportByEntity(List<AnalysisReport> reports) Generates DataFrames from a list of AnalysisReports with a separate Data Frame per entity.generateReportTable(List<AnalysisReport> reports) Generates a table from a list of AnalysisReportstatic TabularReportGeneratorCreates the default GeneratorGet the column names in the reportorg.dflib.DataFrameClear the summary for generator reuseGet the summary column names in the reportSummarise across multiple reports
-
Method Details
-
generator
Creates the default Generator- Returns:
- the default Generator
-
summariseAcrossReports
Summarise across multiple reports- Returns:
- the writer for method chaining
-
clearSummary
Clears the summary for generator reuse- Returns:
- the writer for method chaining
-
getSummary
public org.dflib.DataFrame getSummary()Clear the summary for generator reuse- Returns:
- the writer for method chaining
-
getColumnNames
Get the column names in the report- Returns:
- the column names in the report
-
getSummaryColumnNames
Get the summary column names in the report- Returns:
- the summary column names in the report
-
generateReport
Generates a DataFrame from a list of AnalysisReport- Parameters:
reports- a list of AnalysisReport- Returns:
- a data frame
-
generateReportByEntity
Generates DataFrames from a list of AnalysisReports with a separate Data Frame per entity.- Parameters:
reports- a list of AnalysisReport- Returns:
- a data frame
-
generateReportTable
Generates a table from a list of AnalysisReport- Parameters:
reports- a list of AnalysisReport- Returns:
- a table of the AnalysisReports
-