Class: TencentCloud::Dcdb::V20180411::DDLDetail

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

Overview

DDL任务执行详情

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(shardserialid = nil, dbname = nil, table = nil, alter = nil, begintime = nil, status = nil, desc = nil, stage = nil, switchstatus = nil) ⇒ DDLDetail

Returns a new instance of DDLDetail.



1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
# File 'lib/v20180411/models.rb', line 1620

def initialize(shardserialid=nil, dbname=nil, table=nil, alter=nil, begintime=nil, status=nil, desc=nil, stage=nil, switchstatus=nil)
  @ShardSerialId = shardserialid
  @DbName = dbname
  @Table = table
  @Alter = alter
  @BeginTime = begintime
  @Status = status
  @Desc = desc
  @Stage = stage
  @SwitchStatus = switchstatus
end

Instance Attribute Details

#AlterObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def Alter
  @Alter
end

#BeginTimeObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def BeginTime
  @BeginTime
end

#DbNameObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def DbName
  @DbName
end

#DescObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def Desc
  @Desc
end

#ShardSerialIdObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def ShardSerialId
  @ShardSerialId
end

#StageObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def Stage
  @Stage
end

#StatusObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def Status
  @Status
end

#SwitchStatusObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def SwitchStatus
  @SwitchStatus
end

#TableObject

Parameters:

  • ShardSerialId:

    分片Id

  • DbName:

    数据库

  • Table:

  • Alter:

    执行的DDL任务内容

  • BeginTime:

    开始执行时间

  • Status:

    当前任务状态。0 成功; 1失败; 2进行中

  • Desc:

    任务详细描述信息

  • Stage:

    任务当前所处阶段

  • SwitchStatus:

    切换状态:1: 未到切换阶段;2:正在等待进行表切换;3: 正在进行切换;4: 切换成功;5: 切换失败



1618
1619
1620
# File 'lib/v20180411/models.rb', line 1618

def Table
  @Table
end

Instance Method Details

#deserialize(params) ⇒ Object



1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
# File 'lib/v20180411/models.rb', line 1632

def deserialize(params)
  @ShardSerialId = params['ShardSerialId']
  @DbName = params['DbName']
  @Table = params['Table']
  @Alter = params['Alter']
  @BeginTime = params['BeginTime']
  @Status = params['Status']
  @Desc = params['Desc']
  @Stage = params['Stage']
  @SwitchStatus = params['SwitchStatus']
end