Class DescribeSlowLogTopSqlsRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.models.DescribeSlowLogTopSqlsRequest
-
public class DescribeSlowLogTopSqlsRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description DescribeSlowLogTopSqlsRequest()DescribeSlowLogTopSqlsRequest(DescribeSlowLogTopSqlsRequest 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEndTime()Get 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。StringgetInstanceId()Get 实例 ID 。LonggetLimit()Get 返回数量,默认为20,最大值为100。LonggetOffset()Get 偏移量,默认为0。StringgetOrderBy()Get 排序方式,支持ASC(升序)以及DESC(降序)。StringgetProduct()Get 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。SchemaItem[]getSchemaList()Get 数据库名称数组。StringgetSortBy()Get 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。StringgetStartTime()Get 开始时间,如“2019-09-10 12:13:14”。voidsetEndTime(String EndTime)Set 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。voidsetInstanceId(String InstanceId)Set 实例 ID 。voidsetLimit(Long Limit)Set 返回数量,默认为20,最大值为100。voidsetOffset(Long Offset)Set 偏移量,默认为0。voidsetOrderBy(String OrderBy)Set 排序方式,支持ASC(升序)以及DESC(降序)。voidsetProduct(String Product)Set 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。voidsetSchemaList(SchemaItem[] SchemaList)Set 数据库名称数组。voidsetSortBy(String SortBy)Set 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。voidsetStartTime(String StartTime)Set 开始时间,如“2019-09-10 12:13:14”。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
DescribeSlowLogTopSqlsRequest
public DescribeSlowLogTopSqlsRequest()
-
DescribeSlowLogTopSqlsRequest
public DescribeSlowLogTopSqlsRequest(DescribeSlowLogTopSqlsRequest 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.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例 ID 。- Returns:
- InstanceId 实例 ID 。
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例 ID 。- Parameters:
InstanceId- 实例 ID 。
-
getStartTime
public String getStartTime()
Get 开始时间,如“2019-09-10 12:13:14”。- Returns:
- StartTime 开始时间,如“2019-09-10 12:13:14”。
-
setStartTime
public void setStartTime(String StartTime)
Set 开始时间,如“2019-09-10 12:13:14”。- Parameters:
StartTime- 开始时间,如“2019-09-10 12:13:14”。
-
getEndTime
public String getEndTime()
Get 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。- Returns:
- EndTime 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。
-
setEndTime
public void setEndTime(String EndTime)
Set 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。- Parameters:
EndTime- 截止时间,如“2019-09-10 12:13:14”,截止时间与开始时间的间隔最大可为7天。
-
getSortBy
public String getSortBy()
Get 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。- Returns:
- SortBy 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。
-
setSortBy
public void setSortBy(String SortBy)
Set 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。- Parameters:
SortBy- 排序键,目前支持 QueryTime,ExecTimes,RowsSent,LockTime以及RowsExamined 等排序键。
-
getOrderBy
public String getOrderBy()
Get 排序方式,支持ASC(升序)以及DESC(降序)。- Returns:
- OrderBy 排序方式,支持ASC(升序)以及DESC(降序)。
-
setOrderBy
public void setOrderBy(String OrderBy)
Set 排序方式,支持ASC(升序)以及DESC(降序)。- Parameters:
OrderBy- 排序方式,支持ASC(升序)以及DESC(降序)。
-
getLimit
public Long getLimit()
Get 返回数量,默认为20,最大值为100。- Returns:
- Limit 返回数量,默认为20,最大值为100。
-
setLimit
public void setLimit(Long Limit)
Set 返回数量,默认为20,最大值为100。- Parameters:
Limit- 返回数量,默认为20,最大值为100。
-
getOffset
public Long getOffset()
Get 偏移量,默认为0。- Returns:
- Offset 偏移量,默认为0。
-
setOffset
public void setOffset(Long Offset)
Set 偏移量,默认为0。- Parameters:
Offset- 偏移量,默认为0。
-
getSchemaList
public SchemaItem[] getSchemaList()
Get 数据库名称数组。- Returns:
- SchemaList 数据库名称数组。
-
setSchemaList
public void setSchemaList(SchemaItem[] SchemaList)
Set 数据库名称数组。- Parameters:
SchemaList- 数据库名称数组。
-
getProduct
public String getProduct()
Get 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。- Returns:
- Product 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
-
setProduct
public void setProduct(String Product)
Set 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。- Parameters:
Product- 服务产品类型,支持值包括: "mysql" - 云数据库 MySQL, "cynosdb" - 云数据库 CynosDB for MySQL,默认为"mysql"。
-
-