Class: TencentCloud::Dts::V20180330::ConsistencyParams

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180330/models.rb

Overview

抽样检验时的抽样参数

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(selectrowspertable = nil, tablesselectall = nil, tablesselectcount = nil) ⇒ ConsistencyParams

Returns a new instance of ConsistencyParams.



126
127
128
129
130
# File 'lib/v20180330/models.rb', line 126

def initialize(selectrowspertable=nil, tablesselectall=nil, tablesselectcount=nil)
  @SelectRowsPerTable = selectrowspertable
  @TablesSelectAll = tablesselectall
  @TablesSelectCount = tablesselectcount
end

Instance Attribute Details

#SelectRowsPerTableObject

Parameters:

  • SelectRowsPerTable:

    数据内容检测参数。表中选出用来数据对比的行,占表的总行数的百分比。取值范围是整数[1-100]

  • TablesSelectAll:

    数据内容检测参数。迁移库表中,要进行数据内容检测的表,占所有表的百分比。取值范围是整数[1-100]

  • TablesSelectCount:

    数据数量检测,检测表行数是否一致。迁移库表中,要进行数据数量检测的表,占所有表的百分比。取值范围是整数[1-100]



124
125
126
# File 'lib/v20180330/models.rb', line 124

def SelectRowsPerTable
  @SelectRowsPerTable
end

#TablesSelectAllObject

Parameters:

  • SelectRowsPerTable:

    数据内容检测参数。表中选出用来数据对比的行,占表的总行数的百分比。取值范围是整数[1-100]

  • TablesSelectAll:

    数据内容检测参数。迁移库表中,要进行数据内容检测的表,占所有表的百分比。取值范围是整数[1-100]

  • TablesSelectCount:

    数据数量检测,检测表行数是否一致。迁移库表中,要进行数据数量检测的表,占所有表的百分比。取值范围是整数[1-100]



124
125
126
# File 'lib/v20180330/models.rb', line 124

def TablesSelectAll
  @TablesSelectAll
end

#TablesSelectCountObject

Parameters:

  • SelectRowsPerTable:

    数据内容检测参数。表中选出用来数据对比的行,占表的总行数的百分比。取值范围是整数[1-100]

  • TablesSelectAll:

    数据内容检测参数。迁移库表中,要进行数据内容检测的表,占所有表的百分比。取值范围是整数[1-100]

  • TablesSelectCount:

    数据数量检测,检测表行数是否一致。迁移库表中,要进行数据数量检测的表,占所有表的百分比。取值范围是整数[1-100]



124
125
126
# File 'lib/v20180330/models.rb', line 124

def TablesSelectCount
  @TablesSelectCount
end

Instance Method Details

#deserialize(params) ⇒ Object



132
133
134
135
136
# File 'lib/v20180330/models.rb', line 132

def deserialize(params)
  @SelectRowsPerTable = params['SelectRowsPerTable']
  @TablesSelectAll = params['TablesSelectAll']
  @TablesSelectCount = params['TablesSelectCount']
end