public class RecentQueriesReport extends Report
RecentQueriesReport returns a list of the most recent queries.| Constructor and Description |
|---|
RecentQueriesReport(String dataPath)
Creates a new report.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator |
getResult(Session session)
Runs the report and returns a result iterator over
Object[]
instances. |
int |
getSize() |
void |
setSize(int size) |
public RecentQueriesReport(String dataPath)
dataPath - path where query statistics are stored.public Iterator getResult(Session session) throws RepositoryException
Object[]
instances.
Returns result rows with the following objects:
StringgetResult in class Reportsession - the session giving access to the workspace.Object[] results.RepositoryException - if an error occurs while reading from the
repository.public int getSize()
public void setSize(int size)
size - the maximum number of queries to return.Copyright © 2010 - 2020 Adobe. All Rights Reserved