Interface ExtractionController

All Known Implementing Classes:
CrossTabExtractionController, DefaultExtractionController
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ExtractionController
This interface implementation should contains data extraction logic

The default implementation is io.jmix.reports.yarg.reporting.extraction.controller.DefaultExtractionController

  • Method Details

    • extract

      List<BandData> extract(ExtractionContext context)
      Method should presents controller logic for data extraction and band tree traversal logic
      Parameters:
      context - contains band, parent band data and params
      Returns:
      list of loaded and wrapped for formatting data
    • extractData

      default List<Map<String,Object>> extractData(ExtractionContext context)

      Method may presents specific logic for for data extraction without traverse

      ex: data extraction for root band io.jmix.reports.yarg.reporting.DataExtractorImpl#extractData
      Parameters:
      context - - should contains band, parent band data and params
      Returns:
      list of loaded data