public class GetHistogramsResponse extends Response
| Constructor and Description |
|---|
GetHistogramsResponse(Map<String,String> headers)
Construct a histogram response
|
| Modifier and Type | Method and Description |
|---|---|
void |
addHistogram(Histogram histogram) |
void |
AddHistogram(Histogram histogram)
Add a time range histogram to the response
|
void |
fromJSON(com.alibaba.fastjson.JSONArray items) |
ArrayList<Histogram> |
GetHistograms()
Get all the time range histogram from the response
|
long |
GetScanBytes()
Get query scan bytes
|
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 process status to the response
|
GetAllHeaders, GetHeader, GetRequestIdpublic long GetTotalCount()
public long GetScanBytes()
public void SetProcessStatus(String processStatus)
processStatus - process status(Complete/InComplete only)public boolean IsCompleted()
public void AddHistogram(Histogram histogram)
histogram - a time range histogrampublic void addHistogram(Histogram histogram)
public void SetHistograms(List<Histogram> histograms)
histograms - all time range histogrampublic ArrayList<Histogram> GetHistograms()
public void fromJSON(com.alibaba.fastjson.JSONArray items)
Copyright © 2025. All Rights Reserved.