Class: TencentCloud::Dbbrain::V20191016::DescribeSlowLogTopSqlsRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::DescribeSlowLogTopSqlsRequest
- Defined in:
- lib/v20191016/models.rb
Overview
DescribeSlowLogTopSqls请求参数结构体
Instance Attribute Summary collapse
-
#EndTime ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#InstanceId ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#Limit ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#Offset ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#OrderBy ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#Product ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#SchemaList ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#SortBy ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
-
#StartTime ⇒ Object
其中: QueryTime - 查询耗时 ExecTimes - 执行次数 RowsSent - 返回行数 LockTime - 锁等待时间 RowsExamined - 扫描行数.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(instanceid = nil, starttime = nil, endtime = nil, sortby = nil, orderby = nil, limit = nil, offset = nil, schemalist = nil, product = nil) ⇒ DescribeSlowLogTopSqlsRequest
constructor
A new instance of DescribeSlowLogTopSqlsRequest.
Constructor Details
#initialize(instanceid = nil, starttime = nil, endtime = nil, sortby = nil, orderby = nil, limit = nil, offset = nil, schemalist = nil, product = nil) ⇒ DescribeSlowLogTopSqlsRequest
Returns a new instance of DescribeSlowLogTopSqlsRequest.
1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 |
# File 'lib/v20191016/models.rb', line 1241 def initialize(instanceid=nil, starttime=nil, endtime=nil, sortby=nil, orderby=nil, limit=nil, offset=nil, schemalist=nil, product=nil) @InstanceId = instanceid @StartTime = starttime @EndTime = endtime @SortBy = sortby @OrderBy = orderby @Limit = limit @Offset = offset @SchemaList = schemalist @Product = product end |
Instance Attribute Details
#EndTime ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def EndTime @EndTime end |
#InstanceId ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def InstanceId @InstanceId end |
#Limit ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def Limit @Limit end |
#Offset ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def Offset @Offset end |
#OrderBy ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def OrderBy @OrderBy end |
#Product ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def Product @Product end |
#SchemaList ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def SchemaList @SchemaList end |
#SortBy ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def SortBy @SortBy end |
#StartTime ⇒ Object
其中:QueryTime - 查询耗时ExecTimes - 执行次数RowsSent - 返回行数LockTime - 锁等待时间RowsExamined - 扫描行数
1239 1240 1241 |
# File 'lib/v20191016/models.rb', line 1239 def StartTime @StartTime end |
Instance Method Details
#deserialize(params) ⇒ Object
1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 |
# File 'lib/v20191016/models.rb', line 1253 def deserialize(params) @InstanceId = params['InstanceId'] @StartTime = params['StartTime'] @EndTime = params['EndTime'] @SortBy = params['SortBy'] @OrderBy = params['OrderBy'] @Limit = params['Limit'] @Offset = params['Offset'] unless params['SchemaList'].nil? @SchemaList = [] params['SchemaList'].each do |i| schemaitem_tmp = SchemaItem.new schemaitem_tmp.deserialize(i) @SchemaList << schemaitem_tmp end end @Product = params['Product'] end |