public class GetHistogramsResponse extends SlsResponse
| 构造器和说明 |
|---|
GetHistogramsResponse(Map<String,String> headers)
Construct a histogram response
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AddHistogram(Histogram histogram)
Add a time range histogram to the response
|
ArrayList<Histogram> |
GetHistograms()
Get all the time range histogram from the response
|
long |
GetTotalCount()
Get query hit count
|
boolean |
IsCompleted()
Check if the GetHistogram is completed
|
void |
SetHistograms(List<Histogram> histograms)
Set all the time range histogram to the response
|
void |
SetProcessStatus(String processStatus)
Set the response status
|
void |
SetTotalCount(long count)
Set query hit count to the response
|
GetAllHeaders, GetHeader, GetRequestIdpublic void SetProcessStatus(String processStatus)
processStatus - response process status (Complete/InComplete only)public boolean IsCompleted()
public void SetTotalCount(long count)
count - hit countpublic long GetTotalCount()
public void AddHistogram(Histogram histogram)
histogram - a time range histogrampublic void SetHistograms(List<Histogram> histograms)
histograms - all time range histogramCopyright © 2015. All Rights Reserved.