public class SearchLogResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
SearchLogResponse() |
SearchLogResponse(SearchLogResponse source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getAnalysis()
Get Whether the returned data is the analysis (SQL) result
|
String[] |
getAnalysisRecords()
Get Log analysis result
This parameter is valid only when `UseNewAnalysis` is `true`.
|
LogItems[] |
getAnalysisResults()
Get Log analysis result
This parameter is valid only when `UseNewAnalysis` is `false`.
|
String[] |
getColNames()
Get Column names of log analysis
This parameter is valid only when `UseNewAnalysis` is `false`.
|
Column[] |
getColumns()
Get Column attributes of log analysis
This parameter is valid only when `UseNewAnalysis` is `true`.
|
String |
getContext()
Get Pass through the Context value returned by this API, which can access more logs later, with an expiration time of 1 hour.Note:* Applicable only for single log topic searches.
|
Boolean |
getListOver()
Get Whether to return all raw log query results.
|
String |
getRequestId()
Get The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
LogInfo[] |
getResults()
Get Raw logs that meet the search conditions
Note: This field may return `null`, indicating that no valid value was found.
|
Float |
getSamplingRate()
Get Sample rate used in this statistical analysis
Note: This field may return null, indicating that no valid values can be obtained.
|
SearchLogTopics |
getTopics()
Get Refers to the basic information of each log topic when multiple log topics are used for search, such as error messages.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setAnalysis(Boolean Analysis)
Set Whether the returned data is the analysis (SQL) result
|
void |
setAnalysisRecords(String[] AnalysisRecords)
Set Log analysis result
This parameter is valid only when `UseNewAnalysis` is `true`.
|
void |
setAnalysisResults(LogItems[] AnalysisResults)
Set Log analysis result
This parameter is valid only when `UseNewAnalysis` is `false`.
|
void |
setColNames(String[] ColNames)
Set Column names of log analysis
This parameter is valid only when `UseNewAnalysis` is `false`.
|
void |
setColumns(Column[] Columns)
Set Column attributes of log analysis
This parameter is valid only when `UseNewAnalysis` is `true`.
|
void |
setContext(String Context)
Set Pass through the Context value returned by this API, which can access more logs later, with an expiration time of 1 hour.Note:* Applicable only for single log topic searches.
|
void |
setListOver(Boolean ListOver)
Set Whether to return all raw log query results.
|
void |
setRequestId(String RequestId)
Set The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId).
|
void |
setResults(LogInfo[] Results)
Set Raw logs that meet the search conditions
Note: This field may return `null`, indicating that no valid value was found.
|
void |
setSamplingRate(Float SamplingRate)
Set Sample rate used in this statistical analysis
Note: This field may return null, indicating that no valid values can be obtained.
|
void |
setTopics(SearchLogTopics Topics)
Set Refers to the basic information of each log topic when multiple log topics are used for search, such as error messages.Note: This field may return null, indicating that no valid values can be obtained.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SearchLogResponse()
public SearchLogResponse(SearchLogResponse source)
public String getContext()
public void setContext(String Context)
Context
- Pass through the Context value returned by this API, which can access more logs later, with an expiration time of 1 hour.Note:* Applicable only for single log topic searches. When searching multiple log topics, please use the Context in Topics.public Boolean getListOver()
public void setListOver(Boolean ListOver)
ListOver
- Whether to return all raw log query results. If not, you can use `Context` to continue to get logs.
Note: This parameter is valid only when the query statement (`Query`) does not contain an SQL statement.public Boolean getAnalysis()
public void setAnalysis(Boolean Analysis)
Analysis
- Whether the returned data is the analysis (SQL) resultpublic LogInfo[] getResults()
public void setResults(LogInfo[] Results)
Results
- Raw logs that meet the search conditions
Note: This field may return `null`, indicating that no valid value was found.public String[] getColNames()
public void setColNames(String[] ColNames)
ColNames
- Column names of log analysis
This parameter is valid only when `UseNewAnalysis` is `false`.
Note: This field may return `null`, indicating that no valid value was found.public LogItems[] getAnalysisResults()
public void setAnalysisResults(LogItems[] AnalysisResults)
AnalysisResults
- Log analysis result
This parameter is valid only when `UseNewAnalysis` is `false`.
Note: This field may return `null`, indicating that no valid value was found.public String[] getAnalysisRecords()
public void setAnalysisRecords(String[] AnalysisRecords)
AnalysisRecords
- Log analysis result
This parameter is valid only when `UseNewAnalysis` is `true`.
Note: This field may return `null`, indicating that no valid value was found.public Column[] getColumns()
public void setColumns(Column[] Columns)
Columns
- Column attributes of log analysis
This parameter is valid only when `UseNewAnalysis` is `true`.
Note: This field may return `null`, indicating that no valid value was found.public Float getSamplingRate()
public void setSamplingRate(Float SamplingRate)
SamplingRate
- Sample rate used in this statistical analysis
Note: This field may return null, indicating that no valid values can be obtained.public SearchLogTopics getTopics()
public void setTopics(SearchLogTopics Topics)
Topics
- Refers to the basic information of each log topic when multiple log topics are used for search, such as error messages.Note: This field may return null, indicating that no valid values can be obtained.public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.Copyright © 2024. All rights reserved.