Class: TencentCloud::Dts::V20211206::DifferenceItem

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

Overview

校验不一致的表详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(db = nil, schema = nil, table = nil, chunk = nil, srcitem = nil, dstitem = nil, indexname = nil, lowerboundary = nil, upperboundary = nil, costtime = nil, finishedat = nil) ⇒ DifferenceItem

Returns a new instance of DifferenceItem.



3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
# File 'lib/v20211206/models.rb', line 3838

def initialize(db=nil, schema=nil, table=nil, chunk=nil, srcitem=nil, dstitem=nil, indexname=nil, lowerboundary=nil, upperboundary=nil, costtime=nil, finishedat=nil)
  @Db = db
  @Schema = schema
  @Table = table
  @Chunk = chunk
  @SrcItem = srcitem
  @DstItem = dstitem
  @IndexName = indexname
  @LowerBoundary = lowerboundary
  @UpperBoundary = upperboundary
  @CostTime = costtime
  @FinishedAt = finishedat
end

Instance Attribute Details

#ChunkObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def Chunk
  @Chunk
end

#CostTimeObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def CostTime
  @CostTime
end

#DbObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def Db
  @Db
end

#DstItemObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def DstItem
  @DstItem
end

#FinishedAtObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def FinishedAt
  @FinishedAt
end

#IndexNameObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def IndexName
  @IndexName
end

#LowerBoundaryObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def LowerBoundary
  @LowerBoundary
end

#SchemaObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def Schema
  @Schema
end

#SrcItemObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def SrcItem
  @SrcItem
end

#TableObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def Table
  @Table
end

#UpperBoundaryObject

Parameters:

  • Db:

    数据库名

  • Schema:

    schema

  • Table:

    表名

  • Chunk:

    分块号

  • SrcItem:

    源库数值

  • DstItem:

    目标库数值

  • IndexName:

    索引名称

  • LowerBoundary:

    索引下边界

  • UpperBoundary:

    索引上边界

  • CostTime:

    对比消耗时间,单位为 ms

  • FinishedAt:

    完成时间



3836
3837
3838
# File 'lib/v20211206/models.rb', line 3836

def UpperBoundary
  @UpperBoundary
end

Instance Method Details

#deserialize(params) ⇒ Object



3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
# File 'lib/v20211206/models.rb', line 3852

def deserialize(params)
  @Db = params['Db']
  @Schema = params['Schema']
  @Table = params['Table']
  @Chunk = params['Chunk']
  @SrcItem = params['SrcItem']
  @DstItem = params['DstItem']
  @IndexName = params['IndexName']
  @LowerBoundary = params['LowerBoundary']
  @UpperBoundary = params['UpperBoundary']
  @CostTime = params['CostTime']
  @FinishedAt = params['FinishedAt']
end