Package com.day.crx.statistics.result
Class ResultQualityReport
java.lang.Object
com.day.crx.statistics.Report
com.day.crx.statistics.result.ResultQualityReport
ResultQualityReport returns a historical list of average
positions in a query result list for a given node.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ResultQualityReport
Creates a new report.- Parameters:
dataPath- the location where the result statistics are stored.path- the path of a node.
-
-
Method Details
-
getResult
Runs the report and returns a result iterator overObject[]instances. Returns result rows with the following objects:- Path
Stringindicating the month - Average position as a
Long
- Specified by:
getResultin classReport- Parameters:
session- the session giving access to the workspace.- Returns:
- Iterator over
Objectresults. - Throws:
RepositoryException- if an error occurs while reading from the repository.
- Path
-
getPeriod
public int getPeriod()- Returns:
- the report period in number of days.
-
setPeriod
public void setPeriod(int period) - Parameters:
period- the report period in number of days.
-