Class: TencentCloud::Dbbrain::V20191016::SlowLogTopSqlItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dbbrain::V20191016::SlowLogTopSqlItem
- Defined in:
- lib/v20191016/models.rb
Overview
慢日志TopSql
Instance Attribute Summary collapse
- #ExecTimes ⇒ Object
- #LockTime ⇒ Object
- #LockTimeAvg ⇒ Object
- #LockTimeMax ⇒ Object
- #LockTimeMin ⇒ Object
- #LockTimeRatio ⇒ Object
- #Md5 ⇒ Object
- #QueryTime ⇒ Object
- #QueryTimeAvg ⇒ Object
- #QueryTimeMax ⇒ Object
- #QueryTimeMin ⇒ Object
- #QueryTimeRatio ⇒ Object
- #RowsExamined ⇒ Object
- #RowsExaminedAvg ⇒ Object
- #RowsExaminedMax ⇒ Object
- #RowsExaminedMin ⇒ Object
- #RowsExaminedRatio ⇒ Object
- #RowsSent ⇒ Object
- #RowsSentAvg ⇒ Object
- #RowsSentMax ⇒ Object
- #RowsSentMin ⇒ Object
- #RowsSentRatio ⇒ Object
- #Schema ⇒ Object
- #SqlTemplate ⇒ Object
- #SqlText ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(locktime = nil, locktimemax = nil, locktimemin = nil, rowsexamined = nil, rowsexaminedmax = nil, rowsexaminedmin = nil, querytime = nil, querytimemax = nil, querytimemin = nil, rowssent = nil, rowssentmax = nil, rowssentmin = nil, exectimes = nil, sqltemplate = nil, sqltext = nil, schema = nil, querytimeratio = nil, locktimeratio = nil, rowsexaminedratio = nil, rowssentratio = nil, querytimeavg = nil, rowssentavg = nil, locktimeavg = nil, rowsexaminedavg = nil, md5 = nil) ⇒ SlowLogTopSqlItem
constructor
A new instance of SlowLogTopSqlItem.
Constructor Details
#initialize(locktime = nil, locktimemax = nil, locktimemin = nil, rowsexamined = nil, rowsexaminedmax = nil, rowsexaminedmin = nil, querytime = nil, querytimemax = nil, querytimemin = nil, rowssent = nil, rowssentmax = nil, rowssentmin = nil, exectimes = nil, sqltemplate = nil, sqltext = nil, schema = nil, querytimeratio = nil, locktimeratio = nil, rowsexaminedratio = nil, rowssentratio = nil, querytimeavg = nil, rowssentavg = nil, locktimeavg = nil, rowsexaminedavg = nil, md5 = nil) ⇒ SlowLogTopSqlItem
Returns a new instance of SlowLogTopSqlItem.
2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 |
# File 'lib/v20191016/models.rb', line 2790 def initialize(locktime=nil, locktimemax=nil, locktimemin=nil, rowsexamined=nil, rowsexaminedmax=nil, rowsexaminedmin=nil, querytime=nil, querytimemax=nil, querytimemin=nil, rowssent=nil, rowssentmax=nil, rowssentmin=nil, exectimes=nil, sqltemplate=nil, sqltext=nil, schema=nil, querytimeratio=nil, locktimeratio=nil, rowsexaminedratio=nil, rowssentratio=nil, querytimeavg=nil, rowssentavg=nil, locktimeavg=nil, rowsexaminedavg=nil, md5=nil) @LockTime = locktime @LockTimeMax = locktimemax @LockTimeMin = locktimemin @RowsExamined = rowsexamined @RowsExaminedMax = rowsexaminedmax @RowsExaminedMin = rowsexaminedmin @QueryTime = querytime @QueryTimeMax = querytimemax @QueryTimeMin = querytimemin @RowsSent = rowssent @RowsSentMax = rowssentmax @RowsSentMin = rowssentmin @ExecTimes = exectimes @SqlTemplate = sqltemplate @SqlText = sqltext @Schema = schema @QueryTimeRatio = querytimeratio @LockTimeRatio = locktimeratio @RowsExaminedRatio = rowsexaminedratio @RowsSentRatio = rowssentratio @QueryTimeAvg = querytimeavg @RowsSentAvg = rowssentavg @LockTimeAvg = locktimeavg @RowsExaminedAvg = rowsexaminedavg @Md5 = md5 end |
Instance Attribute Details
#ExecTimes ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def ExecTimes @ExecTimes end |
#LockTime ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def LockTime @LockTime end |
#LockTimeAvg ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def LockTimeAvg @LockTimeAvg end |
#LockTimeMax ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def LockTimeMax @LockTimeMax end |
#LockTimeMin ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def LockTimeMin @LockTimeMin end |
#LockTimeRatio ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def LockTimeRatio @LockTimeRatio end |
#Md5 ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def Md5 @Md5 end |
#QueryTime ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def QueryTime @QueryTime end |
#QueryTimeAvg ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def QueryTimeAvg @QueryTimeAvg end |
#QueryTimeMax ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def QueryTimeMax @QueryTimeMax end |
#QueryTimeMin ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def QueryTimeMin @QueryTimeMin end |
#QueryTimeRatio ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def QueryTimeRatio @QueryTimeRatio end |
#RowsExamined ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsExamined @RowsExamined end |
#RowsExaminedAvg ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsExaminedAvg @RowsExaminedAvg end |
#RowsExaminedMax ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsExaminedMax @RowsExaminedMax end |
#RowsExaminedMin ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsExaminedMin @RowsExaminedMin end |
#RowsExaminedRatio ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsExaminedRatio @RowsExaminedRatio end |
#RowsSent ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsSent @RowsSent end |
#RowsSentAvg ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsSentAvg @RowsSentAvg end |
#RowsSentMax ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsSentMax @RowsSentMax end |
#RowsSentMin ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsSentMin @RowsSentMin end |
#RowsSentRatio ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def RowsSentRatio @RowsSentRatio end |
#Schema ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def Schema @Schema end |
#SqlTemplate ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def SqlTemplate @SqlTemplate end |
#SqlText ⇒ Object
2788 2789 2790 |
# File 'lib/v20191016/models.rb', line 2788 def SqlText @SqlText end |
Instance Method Details
#deserialize(params) ⇒ Object
2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 |
# File 'lib/v20191016/models.rb', line 2818 def deserialize(params) @LockTime = params['LockTime'] @LockTimeMax = params['LockTimeMax'] @LockTimeMin = params['LockTimeMin'] @RowsExamined = params['RowsExamined'] @RowsExaminedMax = params['RowsExaminedMax'] @RowsExaminedMin = params['RowsExaminedMin'] @QueryTime = params['QueryTime'] @QueryTimeMax = params['QueryTimeMax'] @QueryTimeMin = params['QueryTimeMin'] @RowsSent = params['RowsSent'] @RowsSentMax = params['RowsSentMax'] @RowsSentMin = params['RowsSentMin'] @ExecTimes = params['ExecTimes'] @SqlTemplate = params['SqlTemplate'] @SqlText = params['SqlText'] @Schema = params['Schema'] @QueryTimeRatio = params['QueryTimeRatio'] @LockTimeRatio = params['LockTimeRatio'] @RowsExaminedRatio = params['RowsExaminedRatio'] @RowsSentRatio = params['RowsSentRatio'] @QueryTimeAvg = params['QueryTimeAvg'] @RowsSentAvg = params['RowsSentAvg'] @LockTimeAvg = params['LockTimeAvg'] @RowsExaminedAvg = params['RowsExaminedAvg'] @Md5 = params['Md5'] end |