Descendants should implement the {@link aggregateDayReport()} and {@link aggregateMultipleReports()}
methods.
Both of these methods should persist analytics data using the {@link \Piwik\ArchiveProcessor}
instance returned by {@link getProcessor()}. The {@link aggregateDayReport()} method should
compute analytics data using the {@link \Piwik\DataAccess\LogAggregator} instance
returned by {@link getLogAggregator()}.
### Examples
**Extending Archiver**
class MyArchiver extends Archiver
{
public function aggregateDayReport()
{
$logAggregator = $this->getLogAggregator();
$data = $logAggregator->queryVisitsByDimension(...);
$dataTable = new DataTable();
$dataTable->addRowsFromSimpleArray($data);
$archiveProcessor = $this->getProcessor();
$archiveProcessor->insertBlobRecords('MyPlugin_myReport', $dataTable->getSerialized(500));
}
public function aggregateMultipleReports()
{
$archiveProcessor = $this->getProcessor();
$archiveProcessor->aggregateDataTableRecords('MyPlugin_myReport', 500);
}
}