public class SolrStatsResult extends Object implements JSONResult, org.alfresco.service.cmr.search.StatsResultSet
Constructor and Description |
---|
SolrStatsResult(org.json.JSONObject json,
boolean nameIsADate) |
Modifier and Type | Method and Description |
---|---|
static String |
formatAsDate(String name) |
Long |
getMax() |
Long |
getMean() |
long |
getNumberFound() |
Long |
getQueryTime() |
List<org.alfresco.service.cmr.search.StatsResultStat> |
getStats() |
Long |
getStatus() |
Long |
getSum() |
protected void |
processJson(org.json.JSONObject json)
Parses the json
|
String |
toString() |
public SolrStatsResult(org.json.JSONObject json, boolean nameIsADate)
protected void processJson(org.json.JSONObject json) throws org.json.JSONException
json
- JSONObjectorg.json.JSONException
public Long getStatus()
public Long getQueryTime()
getQueryTime
in interface JSONResult
public long getNumberFound()
getNumberFound
in interface JSONResult
getNumberFound
in interface org.alfresco.service.cmr.search.StatsResultSet
public Long getSum()
getSum
in interface org.alfresco.service.cmr.search.StatsResultSet
public Long getMax()
getMax
in interface org.alfresco.service.cmr.search.StatsResultSet
public Long getMean()
getMean
in interface org.alfresco.service.cmr.search.StatsResultSet
public List<org.alfresco.service.cmr.search.StatsResultStat> getStats()
getStats
in interface org.alfresco.service.cmr.search.StatsResultSet
Copyright © 2005–2017 Alfresco Software. All rights reserved.