Package com.day.crx.statistics.result
Class QueriesByResultReport
java.lang.Object
com.day.crx.statistics.Report
com.day.crx.statistics.result.QueriesByResultReport
QueriesByResultReport implements a report that returns queries
for a given result path. The queries are grouped by the twelve most recent
calendar months.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
QueriesByResultReport
Creates a new report.- Parameters:
dataPath- the path prefix to the data.path- the path of the result page.
-
-
Method Details
-
getResult
Runs the report and returns a result iterator overObject[]instances. Returns result rows with the following objects:Longtimestamp, which indicates the monthString[]with recent queries in that month, which lead to the result page.
- 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.
-