Package com.day.crx.statistics
Class Report
java.lang.Object
com.day.crx.statistics.Report
- Direct Known Subclasses:
ClearKeywordsReport,ExtractKeywordsReport,JanitorReport,KeywordsReport,MostPopularQueriesReport,MostPopularResultsReport,PageViewReport,QueriesByResultReport,QueryHistoryReport,RecentQueriesReport,RelatedQueriesReport,ResultHistoryReport,ResultQualityReport,ResultsByQueryReport
Report is the abstract base class for all reports.-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Report
Report constructor.- Parameters:
dataPath- the path where the query statistics are stored.
-
-
Method Details
-
getResult
Runs the report and returns a result iterator overObject[]instances.- Parameters:
session- the session giving access to the workspace.- Returns:
- Iterator over
Objectresults. - Throws:
RepositoryException- if an error occurs while reading from the repository.
-