org.dspace.statistics.content
Class StatisticsDataSearches
java.lang.Object
org.dspace.statistics.content.StatisticsData
org.dspace.statistics.content.StatisticsDataSearches
public class StatisticsDataSearches
- extends StatisticsData
A statistics data implementation that will query the statistics backend for search information
- Author:
- Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
|
Method Summary |
Dataset |
createDataset(Context context)
Run the accumulated query and return its results. |
protected String |
getQuery()
Returns the query to be used in solr
in case of a dso a scopeDso query will be returned otherwise the default *:* query will be used |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StatisticsDataSearches
public StatisticsDataSearches(DSpaceObject dso)
createDataset
public Dataset createDataset(Context context)
throws SQLException,
org.apache.solr.client.solrj.SolrServerException,
IOException,
ParseException
- Description copied from class:
StatisticsData
- Run the accumulated query and return its results.
- Specified by:
createDataset in class StatisticsData
- Throws:
SQLException
org.apache.solr.client.solrj.SolrServerException
IOException
ParseException
getQuery
protected String getQuery()
- Returns the query to be used in solr
in case of a dso a scopeDso query will be returned otherwise the default *:* query will be used
- Returns:
- the query as a string
Copyright © 2012 DuraSpace. All Rights Reserved.