Serializablepublic class GetLogsResponse extends Response
| 构造器 | 说明 |
|---|---|
GetLogsResponse(Map<String,String> headers) |
Construct the response with http headers
|
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
void |
AddLog(QueriedLog log) |
Add one log to the response
|
String |
getAggQuery() |
|
int |
GetCount() |
Get log number from the response
|
long |
getElapsedMilliSecond() |
|
ArrayList<String> |
getKeys() |
Get log query key's sort
|
ArrayList<QueriedLog> |
GetLogs() |
Get all logs from the response
|
long |
getProcessedRow() |
|
ArrayList<ArrayList<String>> |
getTerms() |
Get log query term
|
String |
getWhereQuery() |
|
boolean |
IsCompleted() |
Check if the GetHistogram is completed
|
boolean |
isHasSQL() |
|
void |
setAggQuery(String mAggQuery) |
|
void |
setElapsedMilliSecond(long mElapsedMilliSecond) |
|
void |
setHasSQL(boolean mHasSQL) |
|
void |
SetLogs(List<QueriedLog> logs) |
Set all the log data to the response
|
void |
setProcessedRow(long mProcessedRow) |
|
void |
SetProcessStatus(String processStatus) |
Set process status to the response
|
void |
setWhereQuery(String mWhereQuery) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitGetAllHeaders, GetHeader, GetRequestIdpublic void setAggQuery(String mAggQuery)
public String getAggQuery()
public long getElapsedMilliSecond()
public void setElapsedMilliSecond(long mElapsedMilliSecond)
public long getProcessedRow()
public void setProcessedRow(long mProcessedRow)
public boolean isHasSQL()
public void setHasSQL(boolean mHasSQL)
public String getWhereQuery()
public void setWhereQuery(String mWhereQuery)
public void SetProcessStatus(String processStatus)
processStatus - process status(Complete/InComplete only)public boolean IsCompleted()
public void SetLogs(List<QueriedLog> logs)
logs - log dataspublic void AddLog(QueriedLog log)
log - log data to addpublic ArrayList<QueriedLog> GetLogs()
public int GetCount()
Copyright © 2018. All Rights Reserved.