The database where to fetch data to analyse.
Database where to fetch data to analyse (and the revisions).
Create, compute and return a fresh item clicks analysis, by processing all item click logs of the database.
An up-to-date analysis of the database item click logs.
Update an analysis by computing the global and local click frequencies, for each item with stats.
This method must only be called once all item click logs have been processed.
The analysis to update with frequencies.
Create an initialized click analysis object.
A fresh click analysis object.
Create an initialized item group stats object.
A fresh item group stats object.
Create an initialized item stats object.
A fresh item stats object.
Update the cached analysis if need be, and returns a deep copy of it.
An up-to-date, deep copy of the cached analysis.
Make a deep copy of the given analysis. Overriden method with a manual field-by-field copy (to handle Map objets).
The analysis top copy.
A deep copy of the given analysis.
Update an analysis by processing the given item click log. This includes updating both the related item and item group stats objects, which will be created if they do not exist yet.
The item click log to process.
The analysis to update.
Update an item group stats object by processing the given item click log. If the related item group stats object does not exist yet, it is created.
The item click log to process.
The analysis containing the item group stats to update.
Whether the given item click log was recorded
on the current page (true
if it was).
Update an item stats object by processing the given item click log. If the related item stats object does not exist yet, it is created.
The item click log to process.
The analysis containing the item stats to update.
Whether the given item click log was recorded
on the current page (true
if it was).
Split a list of groups into two sub-lists:
The order of the initial list is respected in each of the sub-lists.
The list of groups to split.
The analysis where to look for item stats.
An object with the two sub-lists of items.
Split a list of items into two sub-lists:
The order of the initial list is respected in each of the sub-lists.
The list of items to split.
The analysis where to look for item stats.
An object with the two sub-lists of items.
Generated using TypeDoc
Create a new instance of item clicks analyser.