public class GetLogsResponse extends BasicGetLogsResponse
logs| 构造器和说明 |
|---|
GetLogsResponse(Map<String,String> headers)
Construct the response with http headers
|
GetLogsResponse(Map<String,String> headers,
QueryResult result) |
GetLogsResponse(Map<String,String> headers,
String rawQueryResult) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
AddLog(QueriedLog log)
已过时。
Use addLog(QueriedLog log) instead.
|
static GetLogsResponse |
deserializeFrom(com.aliyun.openservices.log.http.comm.ResponseMessage response,
boolean deserialize) |
String |
getAggQuery() |
long |
GetBeginOffset() |
List<String> |
getColumnTypes() |
int |
GetCount()
Get log number from the response
|
long |
getCpuCores() |
double |
getCpuSec() |
long |
getElapsedMilliSecond() |
long |
GetEndOffset() |
long |
GetEndTime() |
List<List<LogContent>> |
getHighlights() |
ArrayList<String> |
getKeys()
Get log query key's sort
|
long |
getLimited() |
ArrayList<QueriedLog> |
GetLogs()
已过时。
Use getLogs() instead.
|
String |
getMarker() |
long |
getProcessedRow() |
int |
GetQueryMode() |
String |
getRawQueryResult() |
long |
GetScanBytes() |
ArrayList<ArrayList<String>> |
getTerms()
Get log query term
|
String |
getWhereQuery() |
boolean |
IsCompleted()
Check if the GetHistogram is completed
|
boolean |
isHasSQL() |
boolean |
IsPhraseQuery() |
boolean |
IsScanAll() |
void |
setAggQuery(String aggQuery) |
void |
setCpuCores(long cpuCores) |
void |
setCpuSec(double cpuSec) |
void |
setElapsedMilliSecond(long elapsedMilliSecond) |
void |
setHasSQL(boolean hasSQL) |
void |
setLimited(long limited) |
void |
SetLogs(List<QueriedLog> logs)
Set all the log data to the response
|
void |
setMarker(String marker) |
void |
setProcessedRow(long processedRow) |
void |
SetProcessStatus(String processStatus)
Set process status to the response
|
void |
setWhereQuery(String whereQuery) |
addLog, getLogs, setLogsGetAllHeaders, GetHeader, GetRequestIdpublic GetLogsResponse(Map<String,String> headers)
headers - http headerspublic GetLogsResponse(Map<String,String> headers, QueryResult result)
public boolean IsPhraseQuery()
public boolean IsScanAll()
public long GetBeginOffset()
public long GetEndOffset()
public long GetEndTime()
public long GetScanBytes()
public int GetQueryMode()
public String getMarker()
public void setMarker(String marker)
public long getLimited()
public void setLimited(long limited)
public void setAggQuery(String aggQuery)
public String getAggQuery()
public long getElapsedMilliSecond()
public void setElapsedMilliSecond(long elapsedMilliSecond)
public void setCpuSec(double cpuSec)
public double getCpuSec()
public long getCpuCores()
public void setCpuCores(long cpuCores)
public long getProcessedRow()
public void setProcessedRow(long processedRow)
public boolean isHasSQL()
public void setHasSQL(boolean hasSQL)
public String getWhereQuery()
public void setWhereQuery(String whereQuery)
public void SetProcessStatus(String processStatus)
processStatus - process status(Complete/InComplete only)public boolean IsCompleted()
public void SetLogs(List<QueriedLog> logs)
logs - log datas@Deprecated public void AddLog(QueriedLog log)
log - log data to add@Deprecated public ArrayList<QueriedLog> GetLogs()
public int GetCount()
public List<List<LogContent>> getHighlights()
public String getRawQueryResult()
public static GetLogsResponse deserializeFrom(com.aliyun.openservices.log.http.comm.ResponseMessage response, boolean deserialize) throws LogException
LogExceptionCopyright © 2026. All Rights Reserved.