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
public abstract class Report extends Object
Report
is the abstract base class for all reports.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Iterator
getResult(Session session)
Runs the report and returns a result iterator overObject[]
instances.
-
-
-
Constructor Detail
-
Report
public Report(String dataPath)
Report constructor.- Parameters:
dataPath
- the path where the query statistics are stored.
-
-
Method Detail
-
getResult
public abstract Iterator getResult(Session session) throws RepositoryException
Runs the report and returns a result iterator overObject[]
instances.- Parameters:
session
- the session giving access to the workspace.- Returns:
- Iterator over
Object
results. - Throws:
RepositoryException
- if an error occurs while reading from the repository.
-
-