public class SolrStatsResult extends Object implements JSONResult, 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<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.JSONExceptionpublic Long getStatus()
public Long getQueryTime()
getQueryTime in interface JSONResultpublic long getNumberFound()
getNumberFound in interface JSONResultgetNumberFound in interface StatsResultSetpublic Long getSum()
getSum in interface StatsResultSetpublic Long getMax()
getMax in interface StatsResultSetpublic Long getMean()
getMean in interface StatsResultSetpublic List<StatsResultStat> getStats()
getStats in interface StatsResultSetCopyright © 2005–2020 Alfresco Software. All rights reserved.